plugins { id 'groovy' } group = 'com.alibaba.testable' version = '1.0.0-SNAPSHOT' sourceCompatibility = '8' repositories { mavenLocal() mavenCentral() } dependencies { testImplementation 'org.codehaus.groovy:groovy-all:3.0.7' testImplementation 'org.spockframework:spock-core:2.0-M5-groovy-3.0' testImplementation('com.alibaba.testable:testable-all:0.6.1') testAnnotationProcessor('com.alibaba.testable:testable-processor:0.6.1') } tasks.withType(JavaCompile) { options.encoding = "UTF-8" } test { jvmArgs "-javaagent:${classpath.find { it.name.contains("testable-agent") }.absolutePath}" useJUnitPlatform() }