Skip to content

Commit

Permalink
unit tests passing
Browse files Browse the repository at this point in the history
  • Loading branch information
ManApart committed Dec 17, 2024
1 parent 4f7a84c commit 099fb14
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
25 changes: 14 additions & 11 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
@file:Suppress("UNUSED_VARIABLE")

import org.jetbrains.kotlin.gradle.dsl.JvmTarget


plugins {
kotlin("multiplatform") version "2.1.0"
kotlin("plugin.serialization") version "2.1.0"
Expand All @@ -14,21 +17,22 @@ repositories {

kotlin {
jvm {
compilations.all {
kotlinOptions.jvmTarget = "17"
withJava()
compilerOptions {
jvmTarget.set(JvmTarget.JVM_19)
}
testRuns["test"].executionTask.configure {
useJUnitPlatform()
}

this@kotlin.sourceSets {
val jvmTestIntegration by creating {
dependsOn(this@sourceSets["jvmMain"])
}
val jvmTools by creating {
dependsOn(this@sourceSets["jvmMain"])
}
}
// [email protected] {
// val jvmTestIntegration by creating {
// dependsOn(this@sourceSets["jvmMain"])
// }
// val jvmTools by creating {
// dependsOn(this@sourceSets["jvmMain"])
// }
// }
compilations {
val main by getting
val testIntegration by compilations.creating {
Expand Down Expand Up @@ -59,7 +63,6 @@ kotlin {
}
}
}
withJava()
}
js(IR) {
binaries.executable()
Expand Down
1 change: 1 addition & 0 deletions src/jvmMain/kotlin/core/utility/LazyMutable.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package core.utility

import kotlin.properties.ReadWriteProperty
import kotlin.reflect.KProperty

/*
Expand Down

0 comments on commit 099fb14

Please sign in to comment.