source: router/build.gradle @ 344c812

Last change on this file since 344c812 was cf27938, checked in by zab2 <zab2@…>, 18 months ago

fix compilation with Gradle to account for GeoIP2 and systray changes

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