Skip to content

Commit 3a5bf49

Browse files
committed
Merge pull request #29611 from halcyon22
* gh-29611: Replace use of classifier with archiveClassifier Closes gh-29611
2 parents 43ca2d2 + 2e9dcdd commit 3a5bf49

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/gradle/packaging/boot-jar-and-jar-classifiers.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ plugins {
55

66
// tag::classifiers[]
77
bootJar {
8-
classifier = 'boot'
8+
archiveClassifier = 'boot'
99
}
1010

1111
jar {
12-
classifier = ''
12+
archiveClassifier = ''
1313
}
1414
// end::classifiers[]
1515

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/gradle/packaging/boot-jar-and-jar-classifiers.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ plugins {
77

88
// tag::classifiers[]
99
tasks.getByName<BootJar>("bootJar") {
10-
classifier = "boot"
10+
archiveClassifier.set("boot")
1111
}
1212

1313
tasks.getByName<Jar>("jar") {
14-
classifier = ""
14+
archiveClassifier.set("")
1515
}
1616
// end::classifiers[]
1717

0 commit comments

Comments
 (0)