HHH-5880 Changed gradle build for for to push testing jar
This commit is contained in:
parent
5dfcdae14d
commit
79e9a77d4e
|
@ -1,8 +1,6 @@
|
|||
apply plugin: 'java'
|
||||
apply plugin: 'antlr'
|
||||
|
||||
// todo : we need to jar up hibernate-testing.jar from here
|
||||
|
||||
dependencies {
|
||||
compile( libraries.commons_collections )
|
||||
compile( libraries.jta )
|
||||
|
@ -48,5 +46,14 @@ ideaModule {
|
|||
sourceDirs.add( file( '$buildDir/generated-src/antlr/main' ) )
|
||||
}
|
||||
|
||||
task testJar(type: Jar, dependsOn: compileJava) {
|
||||
from sourceSets.test.allSource
|
||||
classifier = 'test'
|
||||
}
|
||||
|
||||
artifacts {
|
||||
archives sourcesJar, testJar
|
||||
}
|
||||
|
||||
// http://jira.codehaus.org/browse/GRADLE-1158
|
||||
test.testReport = false
|
||||
|
|
Loading…
Reference in New Issue