mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
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:
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[]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user