Skip to content

Commit 189a4d9

Browse files
Merge pull request #479 from dropbox/jfein/gradle8-support
Switch to using property for gradle 8 support
2 parents 0bffdac + 7dcd741 commit 189a4d9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

dropbox-sdk-java/build.gradle

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,18 +215,17 @@ jar {
215215
}
216216

217217
task jarWithoutOsgi(type: Jar, dependsOn: classes) {
218-
classifier 'withoutOsgi'
218+
archiveClassifier.set('withoutOsgi')
219219
from sourceSets.main.output
220220
}
221221

222222
task sourcesJar(type: Jar, dependsOn: classes) {
223-
classifier = 'sources'
223+
archiveClassifier.set('sources')
224224
from sourceSets.main.allSource
225225
}
226226

227-
228227
task javadocJar(type: Jar, dependsOn: javadoc) {
229-
classifier = 'javadoc'
228+
archiveClassifier.set('javadoc')
230229
from javadoc.destinationDir
231230
}
232231

0 commit comments

Comments
 (0)