26b2e2c5d9
Change action in demo7 and demo8 forms, they where demo5 and demo6
25 lines
558 B
Groovy
Executable File
25 lines
558 B
Groovy
Executable File
//usePlugin 'war'
|
|
usePlugin 'war'
|
|
version = '0.8'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
task resolveDeps(dependsOn: configurations.default.buildArtifacts, type: Copy) {
|
|
into('lib')
|
|
from configurations.default
|
|
from configurations.default.allArtifacts*.file
|
|
}
|
|
|
|
war {
|
|
baseName = 'demo'
|
|
version = ''
|
|
}
|
|
dependencies {
|
|
|
|
compile group: 'commons-codec', name: 'commons-codec', version: '1.4'
|
|
compile group: 'commons-fileupload', name: 'commons-fileupload', version: '1.2'
|
|
compile group: 'commons-io', name: 'commons-io', version: '2.0'
|
|
}
|