30 lines
461 B
Groovy
30 lines
461 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'groovy'
|
|
}
|
|
|
|
sourceCompatibility = 8
|
|
targetCompatibility = 8
|
|
|
|
tasks.withType(JavaCompile).configureEach {
|
|
it.options.encoding = "UTF-8"
|
|
it.options.release = 8
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation gradleApi()
|
|
|
|
testImplementation(gradleTestKit())
|
|
testImplementation('org.spockframework:spock-core:2.0-groovy-3.0') {
|
|
exclude module: 'groovy-all'
|
|
}
|
|
}
|
|
|
|
test {
|
|
maxHeapSize = "4096m"
|
|
useJUnitPlatform()
|
|
} |