From a5aead63c9fd26c1cd89f9a27bc692fc646932e0 Mon Sep 17 00:00:00 2001 From: mondokm Date: Tue, 13 Feb 2024 10:29:35 +0100 Subject: [PATCH] Added kotlin support --- buildSrc/src/main/kotlin/kotlin-common.gradle.kts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 buildSrc/src/main/kotlin/kotlin-common.gradle.kts diff --git a/buildSrc/src/main/kotlin/kotlin-common.gradle.kts b/buildSrc/src/main/kotlin/kotlin-common.gradle.kts new file mode 100644 index 0000000000..bfad9780af --- /dev/null +++ b/buildSrc/src/main/kotlin/kotlin-common.gradle.kts @@ -0,0 +1,15 @@ +import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformJvmPlugin +import org.jetbrains.kotlin.gradle.tasks.KotlinCompile +apply(plugin = "java-common") +apply() +dependencies { + val implementation: Configuration by configurations + implementation(Deps.Kotlin.stdlib) +} +tasks { + withType() { + kotlinOptions { + jvmTarget = "1.8" + } + } +} \ No newline at end of file