HHH-12816 Enable the experimental features of ByteBuddy when building with JDK 11
This commit is contained in:
parent
92f4758889
commit
2733a3cb09
|
@ -231,6 +231,12 @@ processTestResources {
|
|||
}
|
||||
}
|
||||
|
||||
// Enable the experimental features of ByteBuddy with JDK 11
|
||||
test {
|
||||
if ( JavaVersion.current().isJava11Compatible() ) {
|
||||
systemProperty 'net.bytebuddy.experimental', true
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
|
Loading…
Reference in New Issue