Merge pull request #29611 from halcyon22

* gh-29611:
  Replace use of classifier with archiveClassifier

Closes gh-29611
pull/29762/head
Andy Wilkinson 3 years ago
commit 3a5bf49e24

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

@ -7,11 +7,11 @@ plugins {
// tag::classifiers[] // tag::classifiers[]
tasks.getByName<BootJar>("bootJar") { tasks.getByName<BootJar>("bootJar") {
classifier = "boot" archiveClassifier.set("boot")
} }
tasks.getByName<Jar>("jar") { tasks.getByName<Jar>("jar") {
classifier = "" archiveClassifier.set("")
} }
// end::classifiers[] // end::classifiers[]

Loading…
Cancel
Save