HHH-12816 Enable the experimental features of ByteBuddy when building with JDK 11
This commit is contained in:
parent
dde8744ca3
commit
9ca6b1a3cf
|
@ -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