Archived
d1ec384b27
- crates/ → engrams/ (Rust engrams live here) - bindings/ → receptors/ (cross-language access points into the graph) - Cargo.toml workspace paths updated
34 lines
698 B
Kotlin
34 lines
698 B
Kotlin
plugins {
|
|
kotlin("jvm") version "1.9.23"
|
|
}
|
|
|
|
group = "ai.neuron"
|
|
version = "0.1.0"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation(kotlin("stdlib"))
|
|
// org.json is available on Android; for JVM use the standalone artifact.
|
|
implementation("org.json:json:20240303")
|
|
|
|
testImplementation(kotlin("test"))
|
|
testImplementation("org.junit.jupiter:junit-jupiter:5.10.0")
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
// Point to the compiled native library.
|
|
// Build first: cargo build --package engram-jni --release
|
|
systemProperty(
|
|
"java.library.path",
|
|
"${rootProject.projectDir}/../../target/release"
|
|
)
|
|
}
|
|
|
|
kotlin {
|
|
jvmToolchain(17)
|
|
}
|