-
-
Notifications
You must be signed in to change notification settings - Fork 423
Support Kotlin Script Gradle DSL #533
Copy link
Copy link
Closed
Description
Shadow Version
5.2.0
Gradle Version
6.0.1
Expected Behavior
The DSL for this plugin is strongly typed and easy to use.
Actual Behavior
The DSL for this plugin is difficult to use, and weakly typed. I spent a few hours before I found someone who had deconstructed it on stack overflow.
Gradle Build Script(s)
In order to use this plugin, this is what we have to do. Obviously it should be easier than this:
val shadowJar: com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar by tasks
shadowJar.apply {
manifest.attributes.apply {
put("Main-Class", serverClassName)
}
baseName = project.name + "-fat"
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels