forked from I2P_Developers/i2p.i2p
propagate from branch 'i2p.i2p' (head 707603fcdd707b7521d213a82287d64520e18d37)
to branch 'i2p.i2p.str4d.test2' (head d44865c44b6a31ff2e3d5bf9a5e98a6f28d80e5b)
This commit is contained in:
47
apps/i2psnark/build.gradle
Normal file
47
apps/i2psnark/build.gradle
Normal 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')
|
||||
}
|
Reference in New Issue
Block a user