source: apps/i2psnark/build.gradle @ 3054a24

Last change on this file since 3054a24 was 9be53ec, checked in by str4d <str4d@…>, 3 years ago

Swap out getopt, gettext, and geoip code in Gradle libs for dependencies

  • Property mode set to 100644
File size: 897 bytes
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(':apps:systray')
14    compile 'gnu.getopt:java-getopt:1.0.13'
15    providedCompile project(':apps:ministreaming')
16    providedCompile project(':apps:jetty')
17}
18
19task i2psnarkJar(type: Jar) {
20    from sourceSets.main.output
21    exclude 'org/klomp/snark/standalone/**'
22    exclude 'org/klomp/snark/web/**'
23    manifest {
24        attributes 'Main-Class': 'org.klomp.snark.Snark'
25        attributes 'Class-Path': 'i2p.jar mstreaming.jar streaming.jar'
26    }
27}
28
29// TODO: standalone jar.  This is rather involved!
30
31artifacts {
32    archives i2psnarkJar
33}
34
35war {
36    into '.icons', {
37        from 'icons'
38    }
39    webInf {
40        into 'classes/org/klomp/snark/web'
41        from 'mime.properties'
42    }
43    webXml = file('web.xml')
44}
Note: See TracBrowser for help on using the repository browser.