MockJava/build.gradle
2021-12-21 17:48:31 +08:00

48 lines
984 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.17.0'
api 'org.apache.logging.log4j:log4j-api:2.17.0'
testImplementation 'junit:junit:4.13.2'
}