Last change
on this file since b6298dc was
b6298dc,
checked in by str4d <str4d@…>, 3 years ago
|
Segment integration tests in core
|
-
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 | exclude { |
---|
24 | it.name.endsWith('IT.java') |
---|
25 | } |
---|
26 | } |
---|
27 | resources { |
---|
28 | srcDir 'java/test/junit' |
---|
29 | include 'net/i2p/crypto/eddsa/test.data' |
---|
30 | include 'net/i2p/crypto/eddsa/math/baseDblPrecmp' |
---|
31 | include 'net/i2p/crypto/eddsa/math/basePrecmp' |
---|
32 | } |
---|
33 | } |
---|
34 | } |
---|
35 | |
---|
36 | dependencies { |
---|
37 | implementation 'gnu.getopt:java-getopt:1.0.13' |
---|
38 | implementation 'org.gnu.gettext:libintl:0.18.3' |
---|
39 | } |
---|
40 | |
---|
41 | configurations { |
---|
42 | tests |
---|
43 | } |
---|
44 | task testJar(type: Jar) { |
---|
45 | baseName = 'i2p-test' |
---|
46 | dependsOn classes |
---|
47 | from sourceSets.test.output |
---|
48 | } |
---|
49 | artifacts { |
---|
50 | tests testJar |
---|
51 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.