Skip to content

Commit

Permalink
test: skip :pgjdbc-osgi-test:test when runnning tests with Java 8
Browse files Browse the repository at this point in the history
  • Loading branch information
vlsi committed Jan 10, 2025
1 parent 7747527 commit 7245443
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pgjdbc-osgi-test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ tasks.test {
dependsOn(generateDependenciesProperties)
dependsOn(cleanCachedPgjdbc)
dependsOn(pgjdbcRepository)
onlyIf("Looks like pax.url does not support Java 8, see https://github.com/ops4j/org.ops4j.pax.url/issues/453") {
buildParameters.jdkTestVersion.get() > 8
}
systemProperty("logback.configurationFile", file("src/test/resources/logback-test.xml"))
// Regular systemProperty can't be used here as we need lazy evaluation of pgjdbcRepository
jvmArgumentProviders.add(CommandLineArgumentProvider {
Expand Down

0 comments on commit 7245443

Please sign in to comment.