2011-06-15 06:50:34 +08:00
|
|
|
//usePlugin 'war'
|
2011-06-17 15:33:06 +08:00
|
|
|
usePlugin 'war'
|
2011-06-16 08:54:53 +08:00
|
|
|
version = '0.8'
|
2011-06-15 06:50:34 +08:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
2011-06-17 15:33:06 +08:00
|
|
|
|
2011-06-15 06:50:34 +08:00
|
|
|
task resolveDeps(dependsOn: configurations.default.buildArtifacts, type: Copy) {
|
|
|
|
into('lib')
|
|
|
|
from configurations.default
|
|
|
|
from configurations.default.allArtifacts*.file
|
|
|
|
}
|
2011-06-16 08:54:53 +08:00
|
|
|
|
|
|
|
war {
|
2011-06-17 15:33:06 +08:00
|
|
|
baseName = 'demo'
|
2011-06-16 08:54:53 +08:00
|
|
|
version = ''
|
|
|
|
}
|
2011-06-15 06:50:34 +08:00
|
|
|
dependencies {
|
|
|
|
|
|
|
|
compile group: 'commons-codec', name: 'commons-codec', version: '1.4'
|
|
|
|
compile group: 'commons-fileupload', name: 'commons-fileupload', version: '1.2'
|
2011-06-18 02:01:37 +08:00
|
|
|
compile group: 'commons-io', name: 'commons-io', version: '2.0'
|
2011-06-17 15:33:06 +08:00
|
|
|
}
|