From: David ‘Bombe’ Roden Date: Sun, 16 Feb 2020 12:22:17 +0000 (+0100) Subject: 💚 Use JVM target 1.8 for Kotlin compiler X-Git-Tag: v82^2~67 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=f5c68762e5a00d2cdbc433310f5160bd4c811f95;p=Sone.git 💚 Use JVM target 1.8 for Kotlin compiler --- diff --git a/build.gradle b/build.gradle index 3730ead..d1bf4d9 100644 --- a/build.gradle +++ b/build.gradle @@ -22,6 +22,12 @@ tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } +compileKotlin { + kotlinOptions { + jvmTarget = "1.8" + } +} + configurations { provided { dependencies.all { dep ->