• Andy Wilkinson's avatar
    Work around Gradle 3.3's overzealous deprecation warning · b931f564
    Andy Wilkinson authored
    In Gradle 3.3, when an API that will be removed in 4.0 is called, a
    deprecation warning is output as part of the build. Users have noticed
    his warning and, quite reasonably, complained about it. Unfortunately,
    avoiding the warning requires the use of an API that was introduced in
    Gradle 3.x which we can't use directly as we want to remain compatible
    with Gradle 2.x.
    
    This commit introduces the use of reflection to call
    ProjectDependency.getTargetConfiguration() via reflection when it's
    available (Gradle 3) and ProjectDependency.getProjectConfiguration()
    when it's not (Gradle 2).
    
    Closes gh-8154
    b931f564
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-actuator-docs Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-deployment-tests Loading commit data...
spring-boot-devtools Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-test Loading commit data...
spring-boot-test-autoconfigure Loading commit data...
spring-boot-tools Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...