mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-25 20:14:21 +01:00
32 lines
655 B
Plaintext
32 lines
655 B
Plaintext
plugins {
|
|
java
|
|
application
|
|
}
|
|
|
|
group = "org.github.tursodatabase"
|
|
version = "0.0.1-SNAPSHOT"
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation(platform("org.junit:junit-bom:5.10.0"))
|
|
testImplementation("org.junit.jupiter:junit-jupiter")
|
|
}
|
|
|
|
application {
|
|
mainClass.set("org.github.tursodatabase.Main")
|
|
|
|
val limboSystemLibraryPath = System.getenv("LIMBO_SYSTEM_PATH")
|
|
if (limboSystemLibraryPath != null) {
|
|
applicationDefaultJvmArgs = listOf(
|
|
"-Djava.library.path=${System.getProperty("java.library.path")}:$limboSystemLibraryPath"
|
|
)
|
|
}
|
|
}
|
|
|
|
tasks.test {
|
|
useJUnitPlatform()
|
|
}
|