Modernize gradle buildscript

This commit is contained in:
Leonard Brünings
2023-09-06 15:29:59 +02:00
parent 59fdc3b296
commit 695246fe85
+8 -2
View File
@@ -1,10 +1,16 @@
apply plugin: "groovy"
plugins {
id('groovy')
}
version = "1.0"
description = "Spock Framework - Example Project"
// Spock works with Java 1.8 and above
sourceCompatibility = 1.8
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(8))
}
}
repositories {
// Spock releases are available from Maven Central