Skip to content

Commit

Permalink
issue #206: Deprecation warning for Gradle 8.0 in startScripts action
Browse files Browse the repository at this point in the history
  • Loading branch information
siordache committed Sep 15, 2021
1 parent ab274ab commit e7b6ee7
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ private void configureStartScriptsDoFirst(CreateStartScripts startScriptsTask) {
if (ModularCreateStartScripts.UNDEFINED_MAIN_CLASS_NAME.equals(startScriptsTask.getMainClassName())) {
startScriptsTask.setMainClassName(execTask.getMain());
}
} else {
if (ModularCreateStartScripts.UNDEFINED_MAIN_CLASS_NAME.equals(startScriptsTask.getMainClass().getOrElse(ModularCreateStartScripts.UNDEFINED_MAIN_CLASS_NAME))) {
startScriptsTask.getMainClass().set(execTask.getMainClass().getOrElse(ModularCreateStartScripts.UNDEFINED_MAIN_CLASS_NAME));
}
}
}

Expand Down

0 comments on commit e7b6ee7

Please sign in to comment.