The Spring Boot Gradle Reference Guide uses AbstractArchiveTask.classifier which is deprecated as of Gradle 5.1 and replaced by archiveClassifier. As the plugin requires Gradle 6.8, 6.9, or 7.x, the example should be updated.

Originally submitted as #29610.

Comment From: pivotal-cla

@halcyon22 Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@halcyon22 Thank you for signing the Contributor License Agreement!

Comment From: wilkinsona

Our GradleBuild test help asserts that a build hasn't generated any unexpected deprecation warnings. This test should have failed due to that assertion. As part of merging this, we should understand why the test didn't fail and fix it.

Comment From: wilkinsona

The tests aren't failing as Gradle doesn't log a deprecation warning. This means that there's nothing for us to fix. I've reached out to the Gradle team to see if this is something that they might want to change on their side.

Comment From: wilkinsona

With thanks to @ljacomet, the lack of deprecation warnings is intentional as the API's called by Kotlin's Gradle plugin.

Comment From: wilkinsona

@halcyon22 Thanks very much for making your first contribution to Spring Boot.