source: apps/routerconsole/build.gradle @ 113f2c4d

Last change on this file since 113f2c4d was 113f2c4d, checked in by str4d <str4d@…>, 4 years ago

Gradle build script for JRobin

  • Property mode set to 100644
File size: 1.3 KB
Line 
1apply plugin: 'war'
2
3sourceSets {
4    main {
5        java {
6            srcDir 'java/src'
7        }
8    }
9}
10
11dependencies {
12    compile project(':core')
13    compile project(':router')
14    compile project(':installer')
15    providedCompile project(':apps:desktopgui')
16    providedCompile project(':apps:systray')
17    providedCompile project(':apps:jetty')
18    providedCompile project(':apps:jrobin')
19}
20
21jar {
22    manifest {
23        // Top level installer will rename to jrobin.jar
24        // DTG added in 0.8.4, not in the classpath for very old installs,
25        // before we changed wrapper.config to specify *
26        // very old installs don't have i2psnark,jstl,standard in the classpath...
27        // not added in WebAppConfiguration any more
28        // All new jetty 7 jars should have been in 0.9.6, added in 0.9.7
29        attributes 'Class-Path': 'i2p.jar router.jar jrobin.jar desktopgui.jar i2psnark.jar jstl.jar standard.jar jetty-continuation.jar jetty-http.jar jetty-io.jar jetty-security.jar jetty-servlet.jar jetty-servlets.jar jetty-util.jar jetty-webapp.jar'
30    }
31}
32
33war {
34    from 'jsp'
35    // Remove classes from the classpath, they are in the jar.
36    // If we return to precompiling jsps this needs to change.
37    classpath = []
38    webXml = file('jsp/web.xml')
39}
Note: See TracBrowser for help on using the repository browser.