spring-projects-experimental / spring-boot-thin-launcher

Tools for building "thin" executable jars, with a focus on, but not exclusively for, Spring Boot
https://github.com/dsyer/spring-boot-thin-launcher
Apache License 2.0
681 stars 90 forks source link

Fix for missing Start-Class attribute error and Gradle 6.8.x support #163

Closed ghost closed 3 years ago

ghost commented 3 years ago

Updated ThinLauncherPlugin class implementation to perform the dependsOn(bootJar) wrapped in project.afterEvaluate() since that task is not visible during the Gradle task configuration phase. This resolved the issue for the Start-Class missing error and allows the plugin to be used in Gradle 6.8.x projects.

dsyer commented 3 years ago

Closed manually by the author. Does it not work?

ghost commented 3 years ago

That's correct, I found that not all of the samples built. I'm working on resolving that and will submit a new pull request shortly.