kitgit

tirbofish/dropbear · commit

2f6997ca90e16b8944c140cc96e6160d43f33099

Merge pull request #74 from tirbofish/physics-scripting feature: overhaul to scripting and FFI jarvis, run github actions

Unverified

Thribhu K <4tkbytes@pm.me> · 2025-12-31 12:31

view full diff

diff --git a/Cargo.toml b/Cargo.toml
index 9257b36..299d5a4 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -80,6 +80,7 @@ egui_ltreeview = { version = "0.6", features = ["doc"] }
 dyn-hash = "1.0"
 semver = { version = "1.0", features = ["serde"] }
 rapier3d = { version = "0.31", features = [ "simd-stable", "serde-serialize" ] }
+cbindgen = { version = "0.29.2" }
 
 [workspace.dependencies.image]
 version = "0.25"
diff --git a/build.gradle.kts b/build.gradle.kts
index 5f5eac2..47daf77 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -2,7 +2,7 @@ plugins {
     alias(libs.plugins.kotlinMultiplatform)
     alias(libs.plugins.kotlinxSerialization)
     `maven-publish`
-    id("org.jetbrains.dokka") version "2.0.0"
+    id("org.jetbrains.dokka") version "2.1.0"
 }
 
 group = "com.dropbear"
@@ -42,9 +42,7 @@ val libPathProvider = provider {
 }
 
 kotlin {
-    jvm {
-        withJava()
-    }
+    jvm { }
 
     val nativeTarget = when {
         isMacOs && isArm64 -> macosArm64("nativeLib")
@@ -73,8 +71,8 @@ kotlin {
                 cinterops {
                     val dropbear by creating {
                         defFile(project.file("src/dropbear.def"))
-                        includeDirs.headerFilterOnly(project.file("headers"))
-                        compilerOpts("-I${project.file("headers").absolutePath}")
+                        includeDirs.headerFilterOnly(project.file("include"))
+                        compilerOpts("-I${project.file("include").absolutePath}")
                     }
                 }
             }
@@ -99,7 +97,7 @@ kotlin {
                 cinterops {
                     val dropbear by creating {

Large diffs are not rendered by default. Showing the first 50 of 19724 lines. Show full diff