HHH-13421 Disable OSGi testing for JDK 11+

This commit is contained in:
Guillaume Smet 2019-05-29 19:44:00 +02:00
parent e376fe0aef
commit c6671d504b
1 changed files with 4 additions and 1 deletions

View File

@ -17,7 +17,10 @@ ext {
paxExamVersion = '4.12.0' paxExamVersion = '4.12.0'
} }
test.enabled = true if ( JavaVersion.current().isJava11Compatible() ) {
logger.warn( '[WARN] Skipping all tests for hibernate-osgi due to Karaf/Pax-Exam issues with latest JDK 11' )
test.enabled = false
}
sourceSets { sourceSets {
test { test {