forked from I2P_Developers/i2p.i2p
Gradle test config improvements
This commit is contained in:
@ -17,7 +17,6 @@ dependencies {
|
||||
compile project(':core')
|
||||
providedCompile project(':apps:ministreaming')
|
||||
providedCompile project(':apps:jetty')
|
||||
testCompile 'junit:junit:4.+'
|
||||
}
|
||||
|
||||
war {
|
||||
|
@ -15,5 +15,16 @@ sourceSets {
|
||||
|
||||
dependencies {
|
||||
compile project(':core')
|
||||
testCompile 'junit:junit:4.+'
|
||||
}
|
||||
|
||||
configurations {
|
||||
tests
|
||||
}
|
||||
task testJar(type: Jar) {
|
||||
baseName = 'mstreaming-test'
|
||||
dependsOn classes
|
||||
from sourceSets.test.output
|
||||
}
|
||||
artifacts {
|
||||
tests testJar
|
||||
}
|
||||
|
@ -14,5 +14,4 @@ sourceSets {
|
||||
dependencies {
|
||||
compile project(':core')
|
||||
compile project(':apps:ministreaming')
|
||||
testCompile 'junit:junit:4.+'
|
||||
}
|
||||
|
@ -14,5 +14,5 @@ sourceSets {
|
||||
dependencies {
|
||||
compile project(':core')
|
||||
compile project(':apps:ministreaming')
|
||||
testCompile 'junit:junit:4.+'
|
||||
testCompile project(path: ':apps:ministreaming', configuration: 'tests')
|
||||
}
|
||||
|
13
build.gradle
13
build.gradle
@ -1,14 +1,19 @@
|
||||
subprojects {
|
||||
apply plugin: 'java'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
|
||||
dependencies {
|
||||
testCompile 'junit:junit:4.+'
|
||||
}
|
||||
|
||||
sourceCompatibility = 1.5
|
||||
jar {
|
||||
manifest {
|
||||
attributes 'Implementation-Version': '0.9.13-8'
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -13,5 +13,5 @@ sourceSets {
|
||||
|
||||
dependencies {
|
||||
compile project(':core')
|
||||
testCompile 'junit:junit:4.+'
|
||||
testCompile project(path: ':core', configuration: 'tests')
|
||||
}
|
||||
|
Reference in New Issue
Block a user