Gradle test config improvements

This commit is contained in:
str4d
2014-06-25 02:50:24 +00:00
parent f6108b51a2
commit aa3ac75470
7 changed files with 33 additions and 11 deletions

View File

@@ -13,6 +13,14 @@ sourceSets {
}
}
dependencies {
testCompile 'junit:junit:4.+'
configurations {
tests
}
task testJar(type: Jar) {
baseName = 'i2p-test'
dependsOn classes
from sourceSets.test.output
}
artifacts {
tests testJar
}