source: router/build.gradle @ 3acb7a5

Last change on this file since 3acb7a5 was 3acb7a5, checked in by str4d <str4d@…>, 3 years ago

Apply java-library plugin to published libraries

  • Property mode set to 100644
File size: 577 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        }
13    }
14}
15
16dependencies {
17    api project(':core')
18    testImplementation project(path: ':core', configuration: 'tests')
19}
20
21jar {
22    manifest {
23        // so people with very old wrapper.config files will still work with Jetty 6
24        attributes 'Class-Path': 'jetty-i2p.jar jetty-java5-threadpool.jar jetty-rewrite-handler.jar jetty-sslengine.jar jetty-start.jar jetty-util.jar'
25    }
26}
Note: See TracBrowser for help on using the repository browser.