2021-05-26 10:41:52 +00:00
|
|
|
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())
|
2021-07-24 18:35:39 +00:00
|
|
|
testImplementation('org.spockframework:spock-core:2.0-groovy-3.0') {
|
2021-05-26 10:41:52 +00:00
|
|
|
exclude module: 'groovy-all'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
maxHeapSize = "4096m"
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|