Create AOT source sets as soon as the Java plugin is applied
Previously, the AOT source sets were not created until both the Java and Spring Boot plugins had been applied. This could create ordering problems when the Spring Boot plugin's native image plugin action tried to access the AOT source sets to configure the classpaths of the nativeCompile and nativeTest tasks. If the plugins were applied in a particular order the AOT source sets would not exist and a failure would occur. This commit updates the Spring Boot AOT plugin to create the source sets as soon as the Java plugin has been applied. This ensure that they're in place when reacting to the native image plugin being applied. Closes gh-32661pull/32685/head
parent
808e0be552
commit
3ca5c7ff5b
Loading…
Reference in New Issue