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) }