2016-12-04 15:55:19 +01:00
|
|
|
apply plugin: 'java'
|
|
|
|
defaultTasks 'main'
|
|
|
|
|
|
|
|
ant.importBuild 'build.xml'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile group: 'commons-codec', name: 'commons-codec', version: '1.10'
|
|
|
|
compile group: 'commons-fileupload', name: 'commons-fileupload', version: '1.3.2'
|
|
|
|
compile group: 'commons-logging', name: 'commons-logging', version: '1.2'
|
2017-04-17 16:35:06 +02:00
|
|
|
compile group: 'commons-net', name: 'commons-net', version: '3.6'
|
2017-04-17 16:36:46 +02:00
|
|
|
compile group: 'javax.mail', name: 'mail', version: '1.4.7'
|
2016-12-04 15:55:19 +01:00
|
|
|
compile group: 'javax.servlet', name: 'javax.servlet-api', version:'3.1.0'
|
2017-04-17 16:36:46 +02:00
|
|
|
compile group: 'org.ccil.cowan.tagsoup', name: 'tagsoup', version: '1.2.1'
|
2017-04-17 15:06:14 +02:00
|
|
|
compile group: 'org.eclipse.jetty', name: 'jetty-servlet', version: '9.4.3.v20170317'
|
|
|
|
compile group: 'org.eclipse.jetty', name: 'jetty-xml', version: '9.4.3.v20170317'
|
2018-04-29 21:32:18 +02:00
|
|
|
compile group: 'org.mozilla', name: 'rhino', version: '1.7.9'
|
2017-04-17 16:36:46 +02:00
|
|
|
compile group: 'xerces', name: 'xercesImpl', version: '2.11.0'
|
|
|
|
// Potential replacement for apache-dom
|
|
|
|
//compile group: 'xmlrpc', name: 'xmlrpc', version: '2.0.1'
|
2016-12-04 15:55:19 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
task deps(type: Copy) {
|
|
|
|
from configurations.compile
|
|
|
|
into 'lib/'
|
|
|
|
}
|
|
|
|
|
|
|
|
task main(dependsOn: 'mkjar') {
|
|
|
|
|
|
|
|
}
|