Modernize gradle buildscript

main
Leonard Brünings 2 years ago
parent 59fdc3b296
commit 695246fe85
No known key found for this signature in database
GPG Key ID: 7E4E1DE5895B8C9A

@ -1,10 +1,16 @@
apply plugin: "groovy" plugins {
id('groovy')
}
version = "1.0" version = "1.0"
description = "Spock Framework - Example Project" description = "Spock Framework - Example Project"
// Spock works with Java 1.8 and above // Spock works with Java 1.8 and above
sourceCompatibility = 1.8 java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(8))
}
}
repositories { repositories {
// Spock releases are available from Maven Central // Spock releases are available from Maven Central

Loading…
Cancel
Save