Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
4 changes: 2 additions & 2 deletions .gradle/buildOutputCleanup/cache.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#Mon Sep 29 13:56:43 UTC 2025
gradle.version=9.1.0
#Sat Sep 05 15:37:42 HST 2026
gradle.version=8.14.2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
14 changes: 12 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
kotlin("multiplatform") version "2.1.0"
kotlin("plugin.serialization") version "2.1.0"
id("maven-publish")
}

group = "org.litlfred.fmlrunner"
Expand All @@ -27,6 +28,15 @@ kotlin {
}
}

iosArm64()
iosSimulatorArm64()
iosX64()

@OptIn(org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl::class)
wasmJs {
browser()
}

js(IR) {
browser {
testTask {
Expand All @@ -53,8 +63,8 @@ kotlin {
sourceSets {
val commonMain by getting {
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0")
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.4.1")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3")
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.6.1")
// kotlin-fhirpath dependency from https://github.com/jingtang10/kotlin-fhirpath
// Note: JitPack access still blocked - will integrate when network allows
// implementation("com.github.jingtang10:kotlin-fhirpath:0.1.0")
Expand Down
9 changes: 9 additions & 0 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.0-bin.zip
networkTimeout=10000
retries=0
retryBackOffMs=500
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
248 changes: 248 additions & 0 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

82 changes: 82 additions & 0 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions src/appleMain/kotlin/org/litlfred/fmlrunner/Platform.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package org.litlfred.fmlrunner

/**
* Apple platform-specific implementations
*/
actual class PlatformLogger {
actual fun log(level: String, message: String, data: Any?) {
val logMessage = "${level.uppercase()}: $message"
println("$logMessage ${data ?: ""}")
}
}

actual fun getPlatformName(): String = "Apple"
Loading