Stop using deprecated classifier property

Closes gh-36125
This commit is contained in:
Andy Wilkinson
2023-06-30 08:22:14 +01:00
parent 9e1f2c4257
commit 996252f929
2 changed files with 5 additions and 5 deletions

View File

@@ -107,7 +107,7 @@ test {
task fullJar(type: Jar) {
dependsOn configurations.loader
classifier = "full"
archiveClassifier = "full"
entryCompression = "stored"
from(configurations.runtimeClasspath) {
into "BOOT-INF/lib"
@@ -132,7 +132,7 @@ task fullJar(type: Jar) {
}
def configureArchive(archive) {
archive.classifier = "bin"
archive.archiveClassifier = "bin"
archive.into "spring-${project.version}"
archive.from(fullJar) {
rename {
@@ -150,7 +150,7 @@ def configureArchive(archive) {
}
task zip(type: Zip) {
classifier = "bin"
archiveClassifier = "bin"
configureArchive it
}