Merge pull request #29611 from halcyon22

* gh-29611:
  Replace use of classifier with archiveClassifier

Closes gh-29611
This commit is contained in:
Andy Wilkinson 2022-02-09 11:32:23 +00:00
commit 3a5bf49e24
2 changed files with 4 additions and 4 deletions

View File

@ -5,11 +5,11 @@ plugins {
// tag::classifiers[]
bootJar {
classifier = 'boot'
archiveClassifier = 'boot'
}
jar {
classifier = ''
archiveClassifier = ''
}
// end::classifiers[]

View File

@ -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[]