spring-boot/spring-boot-project/spring-boot-tools
Andy Wilkinson 76f03a8cad Fix reflective access to archiveBaseName property
Previously, reflective access to the archiveBaseName property
incorrectly treated the property as a String. It should have been
treated as a Property<String>. This caused an exception to be thrown
and the deprecated baseName property to be used as a fallback.

This commit corrects the reflective access to the archiveBaseName
property. It also updates the tests to fail if a build outputs a
deprecation warning. Tests that use Gradle's Maven plugin have been
updated to expect deprecation warnings when run with Gradle 6.0 where
the plugin is deprecated. Tests that configure an archive's base name
have been updated to use archiveBaseName when running with Gradle 6.0
and later.

Closes gh-18663
2019-11-27 12:52:05 +00:00
..
org.springframework.boot.gradle.plugin
spring-boot-antlib
spring-boot-autoconfigure-processor
spring-boot-configuration-docs Polish 2019-11-01 09:01:24 +02:00
spring-boot-configuration-metadata
spring-boot-configuration-processor Merge branch '2.1.x' 2019-11-05 15:50:51 +00:00
spring-boot-gradle-plugin Fix reflective access to archiveBaseName property 2019-11-27 12:52:05 +00:00
spring-boot-loader Use try-with-resources blocks in JarFileArchiveTests 2019-11-06 08:01:50 +01:00
spring-boot-loader-tools Merge branch '2.1.x' into 2.2.x 2019-11-08 13:32:49 +00:00
spring-boot-maven-plugin Make optimizedLaunch property name more consistent 2019-10-23 18:24:33 +02:00
spring-boot-test-support Cache ModifiedClassPathClassLoaders 2019-10-22 15:25:31 -07:00
pom.xml