HHH-13421 Disable OSGi testing for JDK 11+

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

View File

@ -17,7 +17,10 @@ ext {
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 {
test {