Replace use of classifier with archiveClassifier
classifier has been deprecated so the docs should be using its replacement, archiveClassifier, instead. See gh-29611
This commit is contained in:
committed by
Andy Wilkinson
parent
43ca2d2cb0
commit
2e9dcdd96d
@@ -5,11 +5,11 @@ plugins {
|
||||
|
||||
// tag::classifiers[]
|
||||
bootJar {
|
||||
classifier = 'boot'
|
||||
archiveClassifier = 'boot'
|
||||
}
|
||||
|
||||
jar {
|
||||
classifier = ''
|
||||
archiveClassifier = ''
|
||||
}
|
||||
// end::classifiers[]
|
||||
|
||||
|
||||
@@ -7,11 +7,11 @@ plugins {
|
||||
|
||||
// tag::classifiers[]
|
||||
tasks.getByName<BootJar>("bootJar") {
|
||||
classifier = "boot"
|
||||
archiveClassifier.set("boot")
|
||||
}
|
||||
|
||||
tasks.getByName<Jar>("jar") {
|
||||
classifier = ""
|
||||
archiveClassifier.set("")
|
||||
}
|
||||
// end::classifiers[]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user