We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7e5fafb + 10f50a6 commit cc58162Copy full SHA for cc58162
src/main/groovy/com/github/jengelman/gradle/plugins/shadow/ShadowApplicationPlugin.groovy
@@ -43,7 +43,7 @@ class ShadowApplicationPlugin implements Plugin<Project> {
43
ApplicationPluginConvention pluginConvention = (
44
ApplicationPluginConvention) project.convention.plugins.application
45
46
- jar.inputs.property('mainClassName', pluginConvention.mainClassName)
+ jar.inputs.property('mainClassName', "${-> pluginConvention.mainClassName }")
47
jar.doFirst {
48
manifest.attributes 'Main-Class': pluginConvention.mainClassName
49
}
0 commit comments