2020-11-28 22:51:09 +08:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
}
|
|
|
|
|
|
|
|
group = 'com.alibaba.testable'
|
|
|
|
version = '1.0.0-SNAPSHOT'
|
|
|
|
sourceCompatibility = '8'
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
testImplementation('org.junit.jupiter:junit-jupiter:5.6.2')
|
2020-12-05 09:37:31 +08:00
|
|
|
testImplementation('com.alibaba.testable:testable-processor:0.3.3-SNAPSHOT')
|
|
|
|
testAnnotationProcessor('com.alibaba.testable:testable-processor:0.3.3-SNAPSHOT')
|
|
|
|
testRuntimeOnly('com.alibaba.testable:testable-agent:0.3.3-SNAPSHOT')
|
2020-11-28 22:51:09 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
jvmArgs "-javaagent:${classpath.find { it.name.contains("testable-agent") }.absolutePath}"
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|