mirror of
https://github.com/hexedtech/jni-toolbox.git
synced 2024-10-22 10:09:19 +02:00
24 lines
451 B
Groovy
24 lines
451 B
Groovy
plugins {
|
|
id 'java-library'
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.3.1'
|
|
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.3.1'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
task cargoBuild(type: Exec) {
|
|
workingDir '.'
|
|
commandLine 'cargo', 'build', '-p', 'jni-toolbox-test'
|
|
}
|
|
|
|
test {
|
|
dependsOn cargoBuild
|
|
outputs.upToDateWhen { false }
|
|
useJUnitPlatform()
|
|
systemProperty 'java.library.path','target/debug'
|
|
}
|