2016-12-04 15:55:19 +01:00
|
|
|
apply plugin: 'java'
|
|
|
|
defaultTasks 'main'
|
|
|
|
|
|
|
|
ant.importBuild 'build.xml'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
// Potential replacement for apache-dom
|
|
|
|
//compile group: 'xerces', name: 'xercesImpl', version: '2.11.0'
|
|
|
|
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'
|
|
|
|
compile group: 'commons-net', name: 'commons-net', version: '3.5'
|
|
|
|
compile group: 'javax.servlet', name: 'javax.servlet-api', version:'3.1.0'
|
|
|
|
compile group: 'org.eclipse.jetty', name: 'jetty-ajp', version: '8.1.22.v20160922'
|
|
|
|
compile group: 'org.eclipse.jetty', name: 'jetty-servlet', version: '8.1.22.v20160922'
|
|
|
|
compile group: 'org.eclipse.jetty', name: 'jetty-xml', version: '8.1.22.v20160922'
|
|
|
|
compile group: 'javax.mail', name: 'mail', version: '1.4.7'
|
2016-12-17 18:05:14 +01:00
|
|
|
compile group: 'org.mozilla', name: 'rhino', version: '1.7.7.1'
|
2016-12-04 15:55:19 +01:00
|
|
|
compile group: 'org.ccil.cowan.tagsoup', name: 'tagsoup', version: '1.2.1'
|
|
|
|
compile group: 'xmlrpc', name: 'xmlrpc', version: '2.0.1'
|
|
|
|
}
|
|
|
|
|
|
|
|
task deps(type: Copy) {
|
|
|
|
from configurations.compile
|
|
|
|
into 'lib/'
|
|
|
|
}
|
|
|
|
|
|
|
|
task main(dependsOn: 'mkjar') {
|
|
|
|
|
|
|
|
}
|