Build: Add i2pcontrol and imagegen to gradle build

This commit is contained in:
zzz
2021-01-04 08:34:09 -05:00
parent e461004ed9
commit d42ef2223d
3 changed files with 49 additions and 3 deletions

View 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')
}

View 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')
}

View File

@ -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'