mirror of
https://github.com/gradle/gradle-build-action.git
synced 2024-12-25 14:46:18 +08:00
24 lines
382 B
Groovy
24 lines
382 B
Groovy
plugins {
|
|
id 'groovy'
|
|
}
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(8)
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation gradleTestKit()
|
|
testImplementation 'org.spockframework:spock-core:2.1-groovy-3.0'
|
|
testImplementation('org.spockframework:spock-junit4:2.1-groovy-3.0')
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|