1234567891011121314151617181920212223242526272829303132333435363738394041 |
- def SpringVersion = '4.2.0.RELEASE'
- def JettyVersion = '9.2.14.v20151106'
- subprojects {
- apply plugin: 'java'
- apply plugin: 'eclipse'
-
- version = '1.0'
- sourceCompatibility = 1.8
- targetCompatibility = 1.8
- [compileJava, compileTestJava]*.options*.encoding = "UTF-8"
-
- repositories {
- mavenCentral()
- }
- configurations {
- all*.exclude group: 'commons-logging', module: 'commons-logging'
- }
- }
- project(':sp-plugin-pay') {
- dependencies{
- compile project(':sp-core')
- compile fileTree( dir: "lib", include: '*.jar' )
-
- testCompile 'junit:junit:4.11'
- }
- task copyLib(type: Sync, dependsOn: jar) {
- from configurations.compile
- from jar.archivePath
- into 'build/deploy'
- }
- task copyWebapp(type: Sync) {
- from 'src/main/webapp'
- into 'build/deploy/webapp'
- }
- task deploy(dependsOn: [copyLib, copyWebapp])
- }
|