mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-22 07:00:43 +08:00
59 lines
1.5 KiB
Groovy
59 lines
1.5 KiB
Groovy
plugins {
|
|
id 'war'
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(8)
|
|
}
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
configurations {
|
|
cb110
|
|
cb194
|
|
cb183
|
|
cb170
|
|
cb161
|
|
cc321
|
|
cc40
|
|
}
|
|
|
|
dependencies {
|
|
cb110 'commons-beanutils:commons-beanutils:1.10.0'
|
|
cb194 'commons-beanutils:commons-beanutils:1.9.4'
|
|
cb183 'commons-beanutils:commons-beanutils:1.8.3'
|
|
cb170 'commons-beanutils:commons-beanutils:1.7.0'
|
|
cb161 'commons-beanutils:commons-beanutils:1.6.1'
|
|
cc321 'commons-collections:commons-collections:3.2.1'
|
|
cc40 'org.apache.commons:commons-collections4:4.0'
|
|
|
|
implementation 'com.caucho:hessian:4.0.66'
|
|
providedCompile 'javax.servlet:javax.servlet-api:3.1.0'
|
|
}
|
|
|
|
war {
|
|
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
|
|
|
doFirst {
|
|
delete "src/main/webapp/WEB-INF/dep"
|
|
|
|
copy { from configurations.cb110 into "src/main/webapp/WEB-INF/dep" }
|
|
copy { from configurations.cb194 into "src/main/webapp/WEB-INF/dep" }
|
|
copy { from configurations.cb183 into "src/main/webapp/WEB-INF/dep" }
|
|
copy { from configurations.cb170 into "src/main/webapp/WEB-INF/dep" }
|
|
copy { from configurations.cb161 into "src/main/webapp/WEB-INF/dep" }
|
|
copy { from configurations.cc321 into "src/main/webapp/WEB-INF/dep" }
|
|
copy { from configurations.cc40 into "src/main/webapp/WEB-INF/dep" }
|
|
}
|
|
}
|
|
|
|
clean {
|
|
delete "src/main/webapp/WEB-INF/dep"
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|