Files
i2p.i2p/core/build.gradle

46 lines
927 B
Groovy
Raw Normal View History

apply plugin: 'java-library'
archivesBaseName = 'i2p'
sourceSets {
main {
java {
srcDir 'java/src'
exclude 'gnu/getopt'
exclude 'gnu/gettext'
}
resources {
srcDir 'java/src'
include 'gnu/getopt/*.properties'
}
}
test {
java {
srcDir 'java/test/junit'
}
resources {
srcDir 'java/test/junit'
include 'net/i2p/crypto/eddsa/test.data'
include 'net/i2p/crypto/eddsa/math/baseDblPrecmp'
include 'net/i2p/crypto/eddsa/math/basePrecmp'
}
}
}
dependencies {
implementation 'gnu.getopt:java-getopt:1.0.13'
implementation 'org.gnu.gettext:libintl:0.18.3'
}
2014-06-25 02:50:24 +00:00
configurations {
tests
}
task testJar(type: Jar) {
baseName = 'i2p-test'
dependsOn classes
from sourceSets.test.output
}
artifacts {
tests testJar
}