plugins Ġ{ ĊĠ Ġid (" ot el . java agent - instrumentation ") ĊĠ Ġid (" org . un broken - d ome . test - sets ") Ċ } Ċ Ċ mu zzle Ġ{ ĊĠ Ġpass Ġ{ ĊĠĠĠ Ġgroup . set (" org . hibernate ") ĊĠĠĠ Ġmodule . set (" hibernate - core ") ĊĠĠĠ Ġversions . set ("[ 4 . 0 . 0 . Final , 6 )") ĊĠĠĠ Ġassert Inverse . set ( true ) ĊĠ Ġ} Ċ } Ċ Ċ test Sets Ġ{ ĊĠ Ġcreate (" version 5 Test ") Ġ{ ĊĠĠĠ Ġdir Name Ġ= Ġ" test " ĊĠ Ġ} ĊĊĠ Ġcreate (" latest Dep Test ") Ġ{ ĊĠĠĠ Ġdir Name Ġ= Ġ" test " ĊĠ Ġ} Ċ } Ċ Ċ tasks Ġ{ ĊĠ Ġval Ġversion 5 Test Ġby Ġexisting ( Test :: class ) ĊĊĠ Ġtest Ġ{ ĊĠĠĠ Ġdepends On ( version 5 Test ) ĊĠ Ġ} Ċ } Ċ Ċ dependencies Ġ{ ĊĠ Ġcompile Only (" org . hibernate : hibernate - core : 4 . 0 . 0 . Final ") ĊĊĠ Ġimplementation ( project (": instrumentation : hibernate : hibernate - common : java agent ")) ĊĊĠ Ġtest Instrumentation ( project (": instrumentation : jdbc : java agent ")) ĊĠ Ġ// ĠAdded Ġto Ġensure Ġcross Ġcompatibility : ĊĠ Ġtest Instrumentation ( project (": instrumentation : hibernate : hibernate - 3 . 3 : java agent ")) ĊĠ Ġtest Instrumentation ( project (": instrumentation : hibernate : hibernate - procedure - call - 4 . 3 : java agent ")) ĊĊĠ Ġtest Implementation (" com . h 2 database : h 2 : 1 . 4 . 1 9 7 ") ĊĠ Ġtest Implementation (" javax . xml . bind : jax b - api : 2 . 2 . 1 1 ") ĊĠ Ġtest Implementation (" com . sun . xml . bind : jax b - core : 2 . 2 . 1 1 ") ĊĠ Ġtest Implementation (" com . sun . xml . bind : jax b - impl : 2 . 2 . 1 1 ") ĊĠ Ġtest Implementation (" javax . activation : activation : 1 . 1 . 1 ") ĊĠ Ġtest Implementation (" org . h sql db : h sql db : 2 . 0 . 0 ") ĊĠ Ġ// ĠFirst Ġversion Ġto Ġwork Ġwith ĠJava Ġ 1 4 ĊĠ Ġtest Implementation (" org . springframework . data : spring - data - jpa : 1 . 8 . 0 . RELEASE ") ĊĊĠ Ġtest Implementation (" org . hibernate : hibernate - core : 4 . 0 . 0 . Final ") ĊĠ Ġtest Implementation (" org . hibernate : hibernate - entity manager : 4 . 0 . 0 . Final ") ĊĊĠ Ġadd (" version 5 Test Implementation ", Ġ" org . hibernate : hibernate - core : 5 . 0 . 0 . Final ") ĊĠ Ġadd (" version 5 Test Implementation ", Ġ" org . hibernate : hibernate - entity manager : 5 . 0 . 0 . Final ") ĊĠ Ġadd (" version 5 Test Implementation ", Ġ" org . springframework . data : spring - data - jpa : 2 . 3 . 0 . RELEASE ") ĊĊĠ Ġadd (" latest Dep Test Implementation ", Ġ" org . hibernate : hibernate - core : 5 .+ ") ĊĠ Ġadd (" latest Dep Test Implementation ", Ġ" org . hibernate : hibernate - entity manager : 5 .+ ") ĊĠ Ġadd (" latest Dep Test Implementation ", Ġ" org . springframework . data : spring - data - jpa :( 2 . 4 . 0 , )") Ċ } Ċ Ċ tasks . with Type < Test >(). configure Each Ġ{ ĊĠ Ġ// Ġrequired Ġon Ġj dk 1 7 ĊĠ Ġj vm Args ("-- add - opens = java . base / java . lang . invoke = ALL - UN NAMED ") ĊĠ Ġj vm Args ("- XX :+ Ignore Unrecognized VM Options ") ĊĊĠ Ġ// ĠTODO Ġrun Ġtests Ġboth Ġwith Ġand Ġwithout Ġexperimental Ġspan Ġattributes ĊĠ Ġj vm Args ("- Dot el . instrumentation . hibernate . experimental - span - attributes = true ") Ċ } Ċ