aboutsummaryrefslogtreecommitdiff
path: root/build.gradle.kts
diff options
context:
space:
mode:
authorev chang <wyvestbusiness@gmail.com>2024-05-16 16:09:51 -0400
committerev chang <wyvestbusiness@gmail.com>2024-05-16 16:09:51 -0400
commitf142b31324391ed02a90ff96b51ad44fd040d838 (patch)
treed0ad8032d49558f75aef6faef19c2db8c5ef5724 /build.gradle.kts
parent764eedd6ad31ed826b02e61611b690d65ec77fa3 (diff)
parent5134612493d43da328a2567e8425981094d67c50 (diff)
downloadRemap-f142b31324391ed02a90ff96b51ad44fd040d838.tar.gz
Remap-f142b31324391ed02a90ff96b51ad44fd040d838.tar.bz2
Remap-f142b31324391ed02a90ff96b51ad44fd040d838.zip
Merge branch 'master' of https://github.com/ReplayMod/remap into ReplayMod-master
Diffstat (limited to 'build.gradle.kts')
-rw-r--r--build.gradle.kts10
1 files changed, 9 insertions, 1 deletions
diff --git a/build.gradle.kts b/build.gradle.kts
index f32d4c2..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.5.21"
+ kotlin("jvm") version "1.9.23"
`maven-publish`
}
@@ -22,6 +22,7 @@ val testB by sourceSets.creating
kotlinVersion("1.5.21", isPrimaryVersion = true)
kotlinVersion("1.6.20")
+kotlinVersion("1.9.0")
dependencies {
api("org.jetbrains.kotlin:kotlin-compiler-embeddable:1.5.21")
@@ -86,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(".", "")