HHH-5904 - Deploy just testing artifacts from hibernate-core, not all tests
This commit is contained in:
parent
011d7e1114
commit
ef301deadc
|
@ -46,12 +46,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