33 lines
1.1 KiB
Groovy
33 lines
1.1 KiB
Groovy
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'
|
|
compile group: 'commons-net', name: 'commons-net', version: '3.6'
|
|
compile group: 'javax.mail', name: 'mail', version: '1.4.7'
|
|
compile group: 'javax.servlet', name: 'javax.servlet-api', version:'3.1.0'
|
|
compile group: 'org.ccil.cowan.tagsoup', name: 'tagsoup', version: '1.2.1'
|
|
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'
|
|
compile group: 'org.mozilla', name: 'rhino', version: '1.7.9'
|
|
compile group: 'xerces', name: 'xercesImpl', version: '2.11.0'
|
|
// Potential replacement for apache-dom
|
|
//compile group: 'xmlrpc', name: 'xmlrpc', version: '2.0.1'
|
|
}
|
|
|
|
task deps(type: Copy) {
|
|
from configurations.compile
|
|
into 'lib/'
|
|
}
|
|
|
|
task main(dependsOn: 'mkjar') {
|
|
|
|
}
|