2017-11-26 23:20:24 +00:00
|
|
|
apply plugin: 'java-library'
|
|
|
|
|
2014-06-24 05:18:16 +00:00
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
java {
|
|
|
|
srcDir 'java/src'
|
2017-11-27 15:36:09 +00:00
|
|
|
exclude 'com'
|
2014-06-24 05:18:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
test {
|
|
|
|
java {
|
|
|
|
srcDir 'java/test/junit'
|
2017-12-02 20:48:53 +00:00
|
|
|
exclude {
|
|
|
|
it.name.endsWith('IT.java')
|
|
|
|
}
|
2014-06-24 05:18:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2017-11-26 23:20:24 +00:00
|
|
|
api project(':core')
|
2017-11-27 15:36:09 +00:00
|
|
|
implementation 'com.maxmind.geoip:geoip-api:1.3.1'
|
|
|
|
implementation 'gnu.getopt:java-getopt:1.0.13'
|
2017-11-26 23:20:24 +00:00
|
|
|
testImplementation project(path: ':core', configuration: 'tests')
|
2014-06-24 05:18:16 +00:00
|
|
|
}
|
2014-06-26 03:26:32 +00:00
|
|
|
|
|
|
|
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'
|
|
|
|
}
|
|
|
|
}
|