source: router/build.gradle @ ad1600e

Last change on this file since ad1600e was 56c1739d, checked in by str4d <str4d@…>, 22 months ago

Gradle: Use plugins DSL where possible

  • Property mode set to 100644
File size: 820 bytes
Line 
1plugins {
2    id 'java-library'
3}
4
5sourceSets {
6    main {
7        java {
8            srcDir 'java/src'
9        }
10    }
11    test {
12        java {
13            srcDir 'java/test/junit'
14            exclude {
15                it.name.endsWith('IT.java')
16            }
17            // Needs rewriting
18            exclude 'net/i2p/router/tunnel/BuildMessageTestStandalone.java'
19        }
20    }
21}
22
23dependencies {
24    api project(':core')
25    implementation 'gnu.getopt:java-getopt:1.0.13'
26    testImplementation project(path: ':core', configuration: 'tests')
27}
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.