mirror of
https://gitee.com/BDWare/MockJava
synced 2025-01-10 09:54:05 +00:00
48 lines
982 B
Groovy
48 lines
982 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'java-library'
|
|
}
|
|
|
|
group 'org.bdware.mockjava'
|
|
version '0.5.0'
|
|
|
|
sourceSets {
|
|
main {
|
|
java {
|
|
srcDir 'src/main/java'
|
|
}
|
|
resources {
|
|
srcDir 'src/main/resources'
|
|
}
|
|
}
|
|
test {
|
|
java {
|
|
srcDir 'src/test/java'
|
|
}
|
|
resources {
|
|
srcDir 'src/test/resources'
|
|
}
|
|
}
|
|
}
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
//-----------------------
|
|
|
|
tasks.processResources.setDuplicatesStrategy(DuplicatesStrategy.INCLUDE)
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven { url 'https://maven.aliyun.com/repository/public' }
|
|
maven { url 'https://mvnrepository.com/artifact/org.apache.poi/poi' }
|
|
}
|
|
|
|
dependencies {
|
|
api 'com.google.code.gson:gson:2.8.8'
|
|
api 'log4j:log4j:1.2.17'
|
|
api 'net.dona.doip:doip-sdk:2.1.0'
|
|
api 'org.apache.logging.log4j:log4j-core:2.15.0'
|
|
api 'org.apache.logging.log4j:log4j-api:2.15.0'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
}
|