Skip to content

Commit 455c6a0

Browse files
Copilotlitlfred
andcommitted
Changes before error encountered
Co-authored-by: litlfred <662242+litlfred@users.noreply.github.com>
1 parent 3cd9c97 commit 455c6a0

File tree

18 files changed

+1804
-0
lines changed

18 files changed

+1804
-0
lines changed
17 Bytes
Binary file not shown.
19.6 KB
Binary file not shown.
21.3 KB
Binary file not shown.
1 Byte
Binary file not shown.
17 Bytes
Binary file not shown.

.gradle/9.1.0/gc.properties

Whitespace-only changes.
17 Bytes
Binary file not shown.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#Mon Sep 29 13:56:43 UTC 2025
2+
gradle.version=9.1.0

.gradle/vcs-1/gc.properties

Whitespace-only changes.

build.gradle.kts

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
plugins {
2+
kotlin("multiplatform") version "2.1.0"
3+
kotlin("plugin.serialization") version "2.1.0"
4+
}
5+
6+
group = "org.litlfred.fmlrunner"
7+
version = "0.1.0"
8+
9+
repositories {
10+
mavenCentral()
11+
}
12+
13+
kotlin {
14+
js(IR) {
15+
browser {
16+
testTask {
17+
useKarma {
18+
useChromeHeadless()
19+
webpackConfig.cssSupport {
20+
enabled.set(true)
21+
}
22+
}
23+
}
24+
}
25+
nodejs {
26+
testTask {
27+
useMocha {
28+
timeout = "10s"
29+
}
30+
}
31+
}
32+
binaries.executable()
33+
34+
// Configure JS output for consumption by Node.js/TypeScript
35+
compilations.getByName("main") {
36+
packageJson {
37+
customField("type", "module")
38+
}
39+
}
40+
41+
useCommonJs() // Use CommonJS for better Node.js compatibility
42+
}
43+
44+
jvm {
45+
jvmToolchain(11)
46+
testRuns["test"].executionTask.configure {
47+
useJUnitPlatform()
48+
}
49+
}
50+
51+
sourceSets {
52+
val commonMain by getting {
53+
dependencies {
54+
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0")
55+
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.4.1")
56+
}
57+
}
58+
59+
val commonTest by getting {
60+
dependencies {
61+
implementation(kotlin("test"))
62+
}
63+
}
64+
65+
val jvmMain by getting {
66+
dependencies {
67+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
68+
}
69+
}
70+
71+
val jvmTest by getting {
72+
dependencies {
73+
implementation("org.junit.jupiter:junit-jupiter:5.9.3")
74+
}
75+
}
76+
77+
val jsMain by getting {
78+
dependencies {
79+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3")
80+
}
81+
}
82+
83+
val jsTest by getting {
84+
dependencies {
85+
implementation(kotlin("test-js"))
86+
}
87+
}
88+
}
89+
}

0 commit comments

Comments
 (0)