HHH-13685 Replace uses of deprecated classifier property in Jar tasks with archiveClassifier
This commit is contained in:
parent
1d98edc402
commit
cee0fce043
|
@ -67,13 +67,13 @@ jar {
|
|||
task sourcesJar(type: Jar) {
|
||||
from project.sourceSets.main.allSource
|
||||
manifest = project.tasks.jar.manifest
|
||||
classifier = 'sources'
|
||||
archiveClassifier.set( 'sources' )
|
||||
}
|
||||
|
||||
task javadocJar(type: Jar) {
|
||||
from project.tasks.javadoc.outputs
|
||||
manifest = project.tasks.jar.manifest
|
||||
classifier = 'javadoc'
|
||||
archiveClassifier.set( 'javadoc' )
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -217,7 +217,7 @@ task copyBundleResources (type: Copy) {
|
|||
processTestResources.dependsOn copyBundleResources
|
||||
|
||||
task testJar(type: Jar, dependsOn: testClasses) {
|
||||
classifier = 'test'
|
||||
archiveClassifier.set( 'test' )
|
||||
from sourceSets.test.output
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue