Skip to content

Commit

Permalink
(chore) jna: use pcre2.library.path for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexey-pelykh committed Jun 23, 2024
1 parent 6c2e8c6 commit 9b7542f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions jna/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,12 @@ java {

tasks.withType<Test> {
useJUnitPlatform()
systemProperty(
"jna.library.path", listOf(
System.getProperty("pcre2.library.path"),
System.getProperty("jna.library.path")
).joinToString(":")
)
finalizedBy(tasks.jacocoTestReport)
}

Expand Down

0 comments on commit 9b7542f

Please sign in to comment.