description Ġ= Ġ" All ure ĠTest NG ĠIntegration " Ċ Ċ val Ġagent : ĠConfiguration Ġby Ġconfigurations . creating Ċ Ċ val Ġtest Ng Version Ġ= Ġ" 6 . 1 4 . 3 " Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġagent (" org . aspect j : aspect j we aver ") ĊĠĠĠ Ġapi ( project (": all ure - java - commons ")) ĊĠĠĠ Ġimplementation (" org . testng : testng :$ test Ng Version ") ĊĠĠĠ Ġimplementation ( project (": all ure - test - filter ")) ĊĠĠĠ Ġtest Annotation Processor (" org . slf 4 j : slf 4 j - simple ") ĊĠĠĠ Ġtest Annotation Processor ( project (": all ure - descriptions - javadoc ")) ĊĠĠĠ Ġtest Implementation (" com . google . inject : gu ice ") ĊĠĠĠ Ġtest Implementation (" org . assertj : assertj - core ") ĊĠĠĠ Ġtest Implementation (" org . mockito : mockito - core ") ĊĠĠĠ Ġtest Implementation (" org . slf 4 j : slf 4 j - simple ") ĊĠĠĠ Ġtest Implementation ( project (": all ure - java - commons - test ")) Ċ } Ċ Ċ tasks . jar Ġ{ ĊĠĠĠ Ġmanifest Ġ{ ĊĠĠĠĠĠĠĠ Ġattributes ( map Of ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ" Automatic - Module - Name " Ġto Ġ" io . q ame ta . all ure . testng " ĊĠĠĠĠĠĠĠ Ġ)) ĊĠĠĠ Ġ} ĊĠĠĠ Ġfrom (" src / main / services ") Ġ{ ĊĠĠĠĠĠĠĠ Ġinto (" META - INF / services ") ĊĠĠĠ Ġ} Ċ } Ċ Ċ tasks . test Ġ{ ĊĠĠĠ Ġuse Test NG ( closure Of < Test NG Options > Ġ{ ĊĠĠĠĠĠĠĠ Ġsu ites (" src / test / resources / testng . xml ") ĊĠĠĠ Ġ}) ĊĠĠĠ Ġexclude (" **/ samples /* ") ĊĠĠĠ Ġdo First Ġ{ ĊĠĠĠĠĠĠĠ Ġj vm Args ("- java agent :${ agent . single File }") ĊĠĠĠ Ġ} Ċ } Ċ Ċ val Ġspi Off Jar : ĠJar Ġby Ġtasks . creating ( Jar :: class ) Ġ{ ĊĠĠĠ Ġfrom ( source Sets . get ByName (" main "). output ) ĊĠĠĠ Ġarchive Classifier . set (" spi - off ") Ċ } Ċ Ċ publishing Ġ{ ĊĠĠĠ Ġpublications Ġ{ ĊĠĠĠĠĠĠĠ Ġnamed < Maven Publication >(" maven ") Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġartifact ( spi Off Jar ) ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ