Changeset aa3ac754


Ignore:
Timestamp:
Jun 25, 2014 2:50:24 AM (6 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
8de0c0b
Parents:
f6108b5
Message:

Gradle test config improvements

Files:
7 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/build.gradle

    rf6108b5 raa3ac754  
    1818    providedCompile project(':apps:ministreaming')
    1919    providedCompile project(':apps:jetty')
    20     testCompile 'junit:junit:4.+'
    2120}
    2221
  • apps/ministreaming/build.gradle

    rf6108b5 raa3ac754  
    1616dependencies {
    1717    compile project(':core')
    18     testCompile 'junit:junit:4.+'
    1918}
     19
     20configurations {
     21    tests
     22}
     23task testJar(type: Jar) {
     24    baseName = 'mstreaming-test'
     25    dependsOn classes
     26    from sourceSets.test.output
     27}
     28artifacts {
     29    tests testJar
     30}
  • apps/sam/build.gradle

    rf6108b5 raa3ac754  
    1515    compile project(':core')
    1616    compile project(':apps:ministreaming')
    17     testCompile 'junit:junit:4.+'
    1817}
  • apps/streaming/build.gradle

    rf6108b5 raa3ac754  
    1515    compile project(':core')
    1616    compile project(':apps:ministreaming')
    17     testCompile 'junit:junit:4.+'
     17    testCompile project(path: ':apps:ministreaming', configuration: 'tests')
    1818}
  • build.gradle

    rf6108b5 raa3ac754  
    11subprojects {
    22    apply plugin: 'java'
     3
     4    repositories {
     5        mavenCentral()
     6    }
     7
     8
     9    dependencies {
     10        testCompile 'junit:junit:4.+'
     11    }
    312
    413    sourceCompatibility = 1.5
     
    817        }
    918    }
    10 
    11     repositories {
    12         mavenCentral()
    13     }
    1419}
  • core/build.gradle

    rf6108b5 raa3ac754  
    1414}
    1515
    16 dependencies {
    17     testCompile 'junit:junit:4.+'
     16configurations {
     17    tests
    1818}
     19task testJar(type: Jar) {
     20    baseName = 'i2p-test'
     21    dependsOn classes
     22    from sourceSets.test.output
     23}
     24artifacts {
     25    tests testJar
     26}
  • router/build.gradle

    rf6108b5 raa3ac754  
    1414dependencies {
    1515    compile project(':core')
    16     testCompile 'junit:junit:4.+'
     16    testCompile project(path: ':core', configuration: 'tests')
    1717}
Note: See TracChangeset for help on using the changeset viewer.