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

config in subprojects with error Cannot run Project.afterEvaluate(Action) when the project is already evaluated. #195

Open tangkaijun opened 1 year ago

tangkaijun commented 1 year ago

Build file 'D:\spring-boot-thin-example\build.gradle' line: 39

A problem occurred evaluating root project 'spring-boot-thin-example'.

Failed to apply plugin 'org.springframework.boot.experimental.thin-launcher'. Cannot run Project.afterEvaluate(Action) when the project is already evaluated.

dsyer commented 1 year ago

You might need to provide a sample (all the examples in the project work as they stand).

dsyer commented 11 months ago

Also try 1.0.31 because there were some changes in the Gradle plugin to support Gradle 8.