aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts9
1 files changed, 8 insertions, 1 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index ba80454..0a245b5 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -1,7 +1,7 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
- kotlin("jvm") version "1.9.0"
+ kotlin("jvm") version "1.9.23"
`maven-publish`
}
@@ -87,6 +87,13 @@ tasks.test {
useJUnitPlatform()
}
+tasks.withType<KotlinCompile> {
+ kotlinOptions {
+ apiVersion = "1.5"
+ languageVersion = "1.5"
+ }
+}
+
fun kotlinVersion(version: String, isPrimaryVersion: Boolean = false) {
val name = version.replace(".", "")