forked from I2P_Developers/i2p.i2p
Build: Add i2pcontrol and imagegen to gradle build
This commit is contained in:
22
apps/i2pcontrol/build.gradle
Normal file
22
apps/i2pcontrol/build.gradle
Normal file
@ -0,0 +1,22 @@
|
||||
plugins {
|
||||
id 'war'
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
java {
|
||||
srcDir 'java'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
providedCompile project(':router')
|
||||
providedCompile project(':apps:jetty')
|
||||
providedCompile files('../../installer/lib/wrapper/all/wrapper.jar')
|
||||
}
|
||||
|
||||
war {
|
||||
archiveName 'jsonrpc.war'
|
||||
webXml = file('web.xml')
|
||||
}
|
25
apps/imagegen/build.gradle
Normal file
25
apps/imagegen/build.gradle
Normal file
@ -0,0 +1,25 @@
|
||||
plugins {
|
||||
id 'war'
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main {
|
||||
java {
|
||||
srcDir 'identicon/core/src/main/java'
|
||||
srcDir 'imagegen/webapp/src/main/java'
|
||||
srcDir 'zxing/core/src/main/java'
|
||||
srcDir 'zxing/javase/src/main/java'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile project(':core')
|
||||
providedCompile project(':apps:jetty')
|
||||
}
|
||||
|
||||
war {
|
||||
from 'imagegen/webapp/src/main/webapp/imagegen.css'
|
||||
from 'imagegen/webapp/src/main/webapp/index.html'
|
||||
webXml = file('imagegen/webapp/src/main/webapp/WEB-INF/web.xml')
|
||||
}
|
@ -12,9 +12,8 @@ include 'apps:jrobin'
|
||||
include 'apps:addressbook'
|
||||
include 'apps:susidns'
|
||||
include 'apps:susimail'
|
||||
include 'apps:i2pcontrol'
|
||||
include 'apps:imagegen'
|
||||
include 'core'
|
||||
include 'installer'
|
||||
include 'router'
|
||||
// TODO
|
||||
//include 'apps:i2pcontrol'
|
||||
//include 'apps:imagegen'
|
||||
|
Reference in New Issue
Block a user