Last change
on this file since 60efd0b was
60efd0b,
checked in by str4d <str4d@…>, 3 years ago
|
Migrate net.i2p.data tests to JUnit 4
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | apply plugin: 'java-library' |
---|
2 | |
---|
3 | archivesBaseName = 'i2p' |
---|
4 | |
---|
5 | sourceSets { |
---|
6 | main { |
---|
7 | java { |
---|
8 | srcDir 'java/src' |
---|
9 | exclude 'gnu/getopt' |
---|
10 | exclude 'gnu/gettext' |
---|
11 | } |
---|
12 | resources { |
---|
13 | srcDir 'java/src' |
---|
14 | include 'gnu/getopt/*.properties' |
---|
15 | } |
---|
16 | } |
---|
17 | test { |
---|
18 | java { |
---|
19 | srcDir 'java/test/junit' |
---|
20 | exclude 'net/i2p/AllCoreTests.java' |
---|
21 | exclude 'net/i2p/data/DataTestSuite.java' |
---|
22 | exclude 'net/i2p/data/i2cp/I2CPTestSuite.java' |
---|
23 | } |
---|
24 | resources { |
---|
25 | srcDir 'java/test/junit' |
---|
26 | include 'net/i2p/crypto/eddsa/test.data' |
---|
27 | include 'net/i2p/crypto/eddsa/math/baseDblPrecmp' |
---|
28 | include 'net/i2p/crypto/eddsa/math/basePrecmp' |
---|
29 | } |
---|
30 | } |
---|
31 | } |
---|
32 | |
---|
33 | dependencies { |
---|
34 | implementation 'gnu.getopt:java-getopt:1.0.13' |
---|
35 | implementation 'org.gnu.gettext:libintl:0.18.3' |
---|
36 | } |
---|
37 | |
---|
38 | configurations { |
---|
39 | tests |
---|
40 | } |
---|
41 | task testJar(type: Jar) { |
---|
42 | baseName = 'i2p-test' |
---|
43 | dependsOn classes |
---|
44 | from sourceSets.test.output |
---|
45 | } |
---|
46 | artifacts { |
---|
47 | tests testJar |
---|
48 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.