💚 Use JVM target 1.8 for Kotlin compiler
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 16 Feb 2020 12:22:17 +0000 (13:22 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 16 Feb 2020 12:22:17 +0000 (13:22 +0100)
build.gradle

index 3730ead..d1bf4d9 100644 (file)
@@ -22,6 +22,12 @@ tasks.withType(JavaCompile) {
        options.encoding = 'UTF-8'
 }
 
+compileKotlin {
+    kotlinOptions {
+        jvmTarget = "1.8"
+    }
+}
+
 configurations {
     provided {
         dependencies.all { dep ->