HHH-5904 - Deploy just testing artifacts from hibernate-core, not all tests
This commit is contained in:
parent
b2a7967624
commit
dc59f6bdd1
|
@ -48,12 +48,20 @@ ideaModule {
|
|||
sourceDirs.add( file( '$buildDir/generated-src/antlr/main' ) )
|
||||
}
|
||||
|
||||
task testJar(type: Jar, dependsOn: compileJava) {
|
||||
task testingJar(type: Jar, dependsOn: compileTestJava) {
|
||||
from sourceSets.test.classes
|
||||
includes += "org/hibernate/testing/*"
|
||||
baseName = 'hibernate-testing'
|
||||
}
|
||||
|
||||
task testingSourcesJar(type: Jar, dependsOn: compileTestJava) {
|
||||
from sourceSets.test.allSource
|
||||
classifier = 'tests'
|
||||
includes += "org/hibernate/testing/*"
|
||||
baseName = 'hibernate-testing'
|
||||
classifier = 'sources'
|
||||
}
|
||||
|
||||
artifacts {
|
||||
archives sourcesJar, testJar
|
||||
testing testingJar, testingSourcesJar
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue