Files
i2p.i2p/router/build.gradle

35 lines
904 B
Groovy
Raw Normal View History

apply plugin: 'java-library'
sourceSets {
main {
java {
srcDir 'java/src'
2018-07-21 15:19:46 +00:00
exclude 'com/maxmind'
}
}
test {
java {
srcDir 'java/test/junit'
2017-12-02 20:48:53 +00:00
exclude {
it.name.endsWith('IT.java')
}
// Needs rewriting
exclude 'net/i2p/router/tunnel/BuildMessageTestStandalone.java'
}
}
}
dependencies {
api project(':core')
implementation 'com.maxmind.geoip:geoip-api:1.3.1'
implementation 'gnu.getopt:java-getopt:1.0.13'
testImplementation project(path: ':core', configuration: 'tests')
}
jar {
manifest {
// so people with very old wrapper.config files will still work with Jetty 6
attributes 'Class-Path': 'jetty-i2p.jar jetty-java5-threadpool.jar jetty-rewrite-handler.jar jetty-sslengine.jar jetty-start.jar jetty-util.jar'
}
}