source: core/build.gradle @ aa3ac754

Last change on this file since aa3ac754 was aa3ac754, checked in by str4d <str4d@…>, 6 years ago

Gradle test config improvements

  • Property mode set to 100644
File size: 362 bytes
Line 
1archivesBaseName = 'i2p'
2
3sourceSets {
4    main {
5        java {
6            srcDir 'java/src'
7        }
8    }
9    test {
10        java {
11            srcDir 'java/test/junit'
12        }
13    }
14}
15
16configurations {
17    tests
18}
19task testJar(type: Jar) {
20    baseName = 'i2p-test'
21    dependsOn classes
22    from sourceSets.test.output
23}
24artifacts {
25    tests testJar
26}
Note: See TracBrowser for help on using the repository browser.