source: router/build.gradle @ bdc4d82e

Last change on this file since bdc4d82e was 03e10835, checked in by str4d <str4d@…>, 2 years ago

Fix Gradle build

  • Property mode set to 100644
File size: 904 bytes
RevLine 
[3acb7a5]1apply plugin: 'java-library'
2
[da777c1]3sourceSets {
4    main {
5        java {
6            srcDir 'java/src'
[03e10835]7            exclude 'com/maxmind'
[da777c1]8        }
9    }
10    test {
11        java {
12            srcDir 'java/test/junit'
[a65a498]13            exclude {
14                it.name.endsWith('IT.java')
15            }
[dd89c4a]16            // Needs rewriting
17            exclude 'net/i2p/router/tunnel/BuildMessageTestStandalone.java'
[da777c1]18        }
19    }
20}
21
22dependencies {
[3acb7a5]23    api project(':core')
[9be53ec]24    implementation 'com.maxmind.geoip:geoip-api:1.3.1'
25    implementation 'gnu.getopt:java-getopt:1.0.13'
[3acb7a5]26    testImplementation project(path: ':core', configuration: 'tests')
[da777c1]27}
[367ab28]28
29jar {
30    manifest {
31        // so people with very old wrapper.config files will still work with Jetty 6
32        attributes 'Class-Path': 'jetty-i2p.jar jetty-java5-threadpool.jar jetty-rewrite-handler.jar jetty-sslengine.jar jetty-start.jar jetty-util.jar'
33    }
34}
Note: See TracBrowser for help on using the repository browser.