import Ġcom . cos min pol if ron ie . gradle . plant uml . Plant U ml Plugin Extension Ċ import Ġorg . gradle . api . Java Version . VERSION _ 1 _ 8 Ċ Ċ plugins Ġ{ ĊĠĠĠ Ġjava ĊĠĠĠ Ġapplication ĊĠĠĠ Ġid (" io . free fair . lo mbok ") Ġversion Ġ" 5 . 0 . 0 - rc 6 " ĊĠĠĠ Ġid (" com . cos min pol if ron ie . gradle . plant uml ") Ġversion Ġ" 1 . 6 . 0 " Ċ } Ċ Ċ repositories Ġ{ ĊĠĠĠ Ġmaven Central () Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġimplementation (" com . struct ur izr : struct ur izr - core : 1 . 3 . 5 ") ĊĠĠĠ Ġimplementation (" com . struct ur izr : struct ur izr - plant uml : 1 . 3 . 4 ") Ċ } Ċ Ċ application Ġ{ ĊĠĠĠ Ġmain ClassName Ġ= Ġ" pl . wy has any . Struct ur izr " Ċ } Ċ Ċ java Ġ{ ĊĠĠĠ Ġsource Compatibility Ġ= ĠVERSION _ 1 _ 8 ĊĠĠĠ Ġtarget Compatibility Ġ= ĠVERSION _ 1 _ 8 Ċ } Ċ Ċ class ĠPl ant U ml Config ( val Ġinput : ĠString , Ġval Ġoutput : ĠString , Ġval Ġformat : ĠString , Ġval Ġwith Metadata : ĠBoolean ) Ċ Ċ configure < Plant U ml Plugin Extension > Ġ{ ĊĠĠĠ Ġrender ( Plant U ml Config (" c 1 . p uml ", Ġ" img / c 1 . png ", Ġ" png ", Ġtrue )) ĊĠĠĠ Ġrender ( Plant U ml Config (" c 2 . p uml ", Ġ" img / c 2 . png ", Ġ" png ", Ġtrue )) ĊĠĠĠ Ġrender ( Plant U ml Config (" c 3 . p uml ", Ġ" img / c 3 . png ", Ġ" png ", Ġtrue )) Ċ } Ċ Ċ tasks . named < Java Compile >(" compile Java ") Ġ{ ĊĠĠĠ Ġoptions . encoding Ġ= Ġ" UTF - 8 " Ċ } Ċ Ċ tasks . named < Java Compile >(" compile Test Java ") Ġ{ ĊĠĠĠ Ġoptions . encoding Ġ= Ġ" UTF - 8 " Ċ } ĊĊĊ