propagate from branch 'i2p.i2p' (head 707603fcdd707b7521d213a82287d64520e18d37)

to branch 'i2p.i2p.str4d.test2' (head d44865c44b6a31ff2e3d5bf9a5e98a6f28d80e5b)
This commit is contained in:
str4d
2017-10-31 04:29:54 +00:00
24 changed files with 781 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
apply plugin: 'war'
sourceSets {
main {
java {
srcDir 'java/src'
include 'org/klomp/snark/web/**'
}
}
jar {
java {
srcDir 'java/src'
exclude 'org/klomp/snark/web'
}
}
}
dependencies {
jarCompile project(':core')
jarCompile project(':apps:ministreaming')
providedCompile sourceSets.jar.output
providedCompile project(':apps:ministreaming')
providedCompile project(':apps:jetty')
}
task i2psnarkJar(type: Jar) {
from sourceSets.jar.output
manifest {
attributes 'Main-Class': 'org.klomp.snark.Snark'
attributes 'Class-Path': 'i2p.jar mstreaming.jar streaming.jar'
}
}
artifacts {
archives i2psnarkJar
}
war {
into '.icons', {
from 'icons'
}
webInf {
into 'classes/org/klomp/snark/web'
from 'mime.properties'
}
webXml = file('web.xml')
}