💚 Use JVM target 1.8 for Kotlin compiler
[Sone.git] / 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 ->