Skip to content

Commit

Permalink
Fix GradleUp#336 "No value has been specified for property mainClassN…
Browse files Browse the repository at this point in the history
…ame" issue"
  • Loading branch information
felipecsl committed Sep 6, 2018
1 parent 7e5fafb commit 5ebbc5c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ class ShadowApplicationPlugin implements Plugin<Project> {
ApplicationPluginConvention pluginConvention = (
ApplicationPluginConvention) project.convention.plugins.application

jar.inputs.property('mainClassName', pluginConvention.mainClassName)
jar.doFirst {
jar.inputs.property('mainClassName', pluginConvention.mainClassName)
manifest.attributes 'Main-Class': pluginConvention.mainClassName
}
}
Expand Down

0 comments on commit 5ebbc5c

Please sign in to comment.