source: core/build.gradle @ 7662974

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

Add EdDSA test vectors to test resources

  • Property mode set to 100644
File size: 709 bytes
Line 
1archivesBaseName = 'i2p'
2
3sourceSets {
4    main {
5        java {
6            srcDir 'java/src'
7        }
8        resources {
9            srcDir 'java/src'
10            include 'gnu/getopt/*.properties'
11        }
12    }
13    test {
14        java {
15            srcDir 'java/test/junit'
16        }
17        resources {
18            srcDir 'java/test/junit'
19            include 'net/i2p/crypto/eddsa/test.data'
20            include 'net/i2p/crypto/eddsa/math/baseDblPrecmp'
21            include 'net/i2p/crypto/eddsa/math/basePrecmp'
22        }
23    }
24}
25
26configurations {
27    tests
28}
29task testJar(type: Jar) {
30    baseName = 'i2p-test'
31    dependsOn classes
32    from sourceSets.test.output
33}
34artifacts {
35    tests testJar
36}
Note: See TracBrowser for help on using the repository browser.