Skip to content

Commit 80fadd0

Browse files
committed
chore: trying native builds
1 parent 78ca7c7 commit 80fadd0

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

backend/native/src/nativeMain/kotlin/Main.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ fun main(args: Array<String>): Unit = runBlocking {
5353
val client = MediaApiClient()
5454
try {
5555
val images = client.images()
56-
println("Found ${images.size} images")
56+
println("Found ${images.size} images!")
5757
} catch (e: Exception) {
5858
e.printStackTrace()
5959
}

backend/native/src/nativeMain/kotlin/wasm/Wasm.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import io.github.charlietap.chasm.embedding.module
66
import io.github.charlietap.chasm.embedding.shapes.getOrNull
77
import io.github.charlietap.chasm.embedding.shapes.map
88
import io.github.charlietap.chasm.embedding.store
9-
import io.github.charlietap.chasm.executor.runtime.value.NumberValue
9+
import io.github.charlietap.chasm.runtime.value.NumberValue
1010
import kotlinx.io.buffered
1111
import kotlinx.io.files.Path
1212
import kotlinx.io.files.SystemFileSystem

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,6 @@ maven.snapshot.repo.enabled=false
6565
# Other projects
6666
composeBuild=true
6767
springBoot=false
68-
kotlin.target.native.enabled=false
68+
kotlin.target.native.enabled=true
6969
kotlin.target.win.enabled=false
7070
debug=false

gradle/libs.versions.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ org-name = "suresh.dev"
2020
org-url = "https://suresh.dev"
2121

2222
# Gradle Dependencies Versions
23-
bc-plugins = "1.15.0"
23+
bc-plugins = "1.17.0"
2424
kotlinx-kover = "0.9.1"
2525
kotlinx-bcv = "0.17.0"
2626
kotlin-dokka = "2.0.0"
@@ -39,7 +39,7 @@ kotlinx-benchmark = "0.4.13"
3939
kotlinx-fuzz = "0.2.2"
4040
kotlinx-metadata = "0.9.0"
4141
kotlinx-reflect-lite = "1.1.0"
42-
kotlin-wrappers = "2025.3.7"
42+
kotlin-wrappers = "2025.3.8"
4343
kotlin-redacted = "1.12.1"
4444
kotlin-serviceloader = "0.0.15"
4545
kotlinx-multik = "0.2.3"
@@ -158,7 +158,7 @@ ap-loader-all = "3.0-9"
158158
openjdk-jmc = "9.0.0"
159159
airlift-aircompressor = "2.0.2"
160160
airlift-security = "312"
161-
directory-keystore = "1.1.0"
161+
directory-keystore = "1.1.1"
162162
maven-mima = "3.0.0-alpha-3"
163163
maven-archeologist = "0.0.10"
164164
jfree-chart = "1.5.4"
@@ -167,7 +167,7 @@ xchart = "3.8.8"
167167
batik = "1.18"
168168
twelvemonkeys = "3.12.0"
169169
okapibarcode = "0.4.1"
170-
chasm = "0.9.53"
170+
chasm = "0.9.6"
171171
cel = "0.9.1"
172172
kfswatch = "1.3.0"
173173
kmp-process = "0.2.0"
@@ -247,6 +247,8 @@ badass-jlink = "3.1.0"
247247
maven-plugin-api = "3.9.9"
248248
maven-plugin-annotations = "3.15.1"
249249
gradlex-maven-plugin = "1.0.3"
250+
typesafe-conventions = "0.5.0"
251+
250252

251253
# Repositories
252254
repo-mvn-central = "https://repo.maven.apache.org/maven2/"
@@ -776,6 +778,7 @@ kmbed-plugin = { id = "io.karma.kmbed.kmbed-gradle-plugi
776778
badass-jlink = { id = "com.dua3.gradle.jlink" , version.ref = "badass-jlink" }
777779
badass-runtime = { id = "com.dua3.gradle.runtime" , version.ref = "badass-runtime" }
778780
gradlex-maven-plugin = { id = "org.gradlex.maven-plugin-development" , version.ref = "gradlex-maven-plugin" }
781+
typesafe-conventions = { id = "dev.panuszewski.typesafe-conventions" , version.ref = "typesafe-conventions" }
779782

780783
# Common build and settings plugin
781784
project-root = { id = "dev.suresh.plugin.root" , version.ref = "bc-plugins" }

0 commit comments

Comments
 (0)