import Ġcom . ad ar shr . gradle . test logger . theme . Theme Type Ċ import Ġme . champ e au . j mh . J MH Plugin Ċ import Ġme . champ e au . j mh . J mh Parameters Ċ import Ġorg . gradle . api . artifacts . type . Artifact Type Definition Ċ Ċ plugins Ġ{ ĊĠ Ġid (" ad venture . base - con ventions ") ĊĠ Ġid (" net . ky ori . ind ra . cross doc ") ĊĠ Ġid (" net . ky ori . ind ra ") ĊĠ Ġid (" net . ky ori . ind ra . check style ") ĊĠ Ġid (" net . ky ori . ind ra . license - header ") ĊĠ Ġid (" com . ad ar shr . test - logger ") ĊĠ Ġid (" com . diff plug . eclipse . apt ") ĊĠ Ġj aco co Ċ } Ċ Ċ test logger Ġ{ ĊĠ Ġtheme Ġ= ĠTheme Type . MO CHA _ PAR ALLEL ĊĠ Ġshow Passed Ġ= Ġfalse Ċ } Ċ Ċ plugins . with Id (" me . champ e au . j mh ") Ġ{ ĊĠ Ġextensions . configure ( J mh Parameters :: class ) Ġ{ ĊĠĠĠ Ġj mh Version . set ( providers . gradle Property (" j mh Version ")) ĊĠ Ġ} ĊĠ Ġtasks . named (" compile J mh Java ") Ġ{ ĊĠĠĠ Ġ// Ġavoid Ġimplicit Ġtask Ġdependencies ĊĠĠĠ Ġdepends On ( tasks . compile Test Java , Ġtasks . process Test Resources ) ĊĠ Ġ} ĊĠ Ġtasks . named ( J MH Plugin . J MH _ TASK _ COMPILE _ GENERATED _ CLASSES _ NAME , ĠJava Compile :: class ) Ġ{ ĊĠĠĠ Ġclasspath Ġ+= Ġconfigurations . get ByName ( Java Plugin . COMPILE _ CLAS SPATH _ CONFIGURATION _ NAME ). incoming . files ĊĠ Ġ} Ċ } Ċ Ċ configurations Ġ{ ĊĠ Ġtest Compile Classpath Ġ{ ĊĠĠĠ Ġexclude ( group Ġ= Ġ" junit ") Ġ// Ġbrought Ġin Ġby Ġgoogle 's Ġlibs ĊĠ Ġ} Ċ } Ċ Ċ repositories Ġ{ ĊĠ Ġmaven Central () Ċ } Ċ Ċ dependencies Ġ{ ĊĠ Ġannotation Processor (" ca . stell ard rift : contract - validator : 1 . 0 . 1 ") Ġ// Ġhttps :// github . com / z ml 2 0 0 8 / contract - validator ĊĠ Ġapi ( platform ( project (": ad venture - bom "))) ĊĠ Ġcheck style (" ca . stell ard rift : style check : 0 . 1 ") ĊĠ Ġtest Implementation (" com . google . gu ava : gu ava - test lib : 3 1 . 0 . 1 - jre ") ĊĠ Ġtest Implementation (" com . google . truth : truth : 1 . 1 . 3 ") ĊĠ Ġtest Implementation (" com . google . truth . extensions : truth - java 8 - extension : 1 . 1 . 3 ") ĊĠ Ġtest Implementation ( platform (" org . junit : junit - bom : 5 . 8 . 2 ")) ĊĠ Ġtest Implementation (" org . junit . jupiter : junit - jupiter - api ") ĊĠ Ġtest Implementation (" org . junit . jupiter : junit - jupiter - engine ") ĊĠ Ġtest Implementation (" org . junit . jupiter : junit - jupiter - params ") Ċ } Ċ Ċ val ĠAD VENT URE _ PREFIX Ġ= Ġ" ad venture -" Ċ ind ra Cross doc Ġ{ ĊĠ ĠbaseUrl (). set ( providers . gradle Property (" javadoc Publish Root ")) ĊĠ Ġname Based Documentation Url Provider Ġ{ ĊĠĠĠ ĠprojectName Prefix . set ( AD VENT URE _ PREFIX ) ĊĠ Ġ} Ċ } Ċ Ċ tasks Ġ{ ĊĠ Ġjavadoc Ġ{ ĊĠĠĠ Ġval Ġoptions Ġ= Ġoptions Ġas ? ĠStandard Javadoc Doc let Options Ġ?: Ġreturn @ javadoc ĊĠĠĠ Ġoptions . tags (" since Minecraft : a : Since ĠMinecraft :") ĊĠ Ġ} ĊĊĠ Ġj aco co Test Report Ġ{ ĊĠĠĠ Ġdepends On ( test ) ĊĠ Ġ} Ċ } Ċ