Skip to content

Commit

Permalink
Fix ordering on build.gradle.kts
Browse files Browse the repository at this point in the history
  • Loading branch information
oluiscabral committed Oct 31, 2024
1 parent 12f327a commit 42525a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ java {
}

tasks.named<Test>("test") {
jvmArgs = listOf("-Djava.library.path=$rustLibPath")
useJUnitPlatform() // Use JUnit Platform for unit tests.
val rustLibPath = projectDir.resolve("../../target/release").absolutePath // Set the JVM argument for the java.library.path (To import rust compiled library)
useJUnitPlatform() // Use JUnit Platform for unit tests.
jvmArgs = listOf("-Djava.library.path=$rustLibPath")
}

tasks.named<Javadoc>("javadoc") {
Expand Down

0 comments on commit 42525a7

Please sign in to comment.