spring-boot/spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin
Andy Wilkinson 8f116f7e6f Align ordering of BootJar and BootWar archive entries
Previously, the ordering of the entries in an archive produced by
BootJar was different to the ordering of the entries in an archive
produced by BootWar. The latter placed application classes before
any nested jars, whereas the former was the other way around.

This commit updates BootJar to use the same ordering as BootWar and
adds tests to verify that the ordering is the following:

1. Loader classes
2. Application classes (BOOT-INF/classes or WEB-INF/classes)
3. Nested jars (BOOT-INF/lib or WEB-INF/lib)
4. Provided nested jars in a war (WEB-INF/lib-provided)

The tests also verify that the position of a library is not affected
by it requiring unpacking.

See gh-11695
See gh-11696
2018-01-31 14:38:38 +00:00
..
gradle/wrapper Relocate projects to spring-boot-project 2017-10-04 16:34:23 -07:00
src Align ordering of BootJar and BootWar archive entries 2018-01-31 14:38:38 +00:00
build.gradle Reduce logging that is produced when building Gradle plugin 2017-10-05 13:39:49 +01:00
gradle.properties Relocate projects to spring-boot-project 2017-10-04 16:34:23 -07:00
gradlew Relocate projects to spring-boot-project 2017-10-04 16:34:23 -07:00
gradlew.bat Relocate projects to spring-boot-project 2017-10-04 16:34:23 -07:00
pom.xml Set kotlin.version when Kotlin's Gradle plugin is applied 2018-01-29 10:13:54 +00:00