plugins Ġ{ ĊĠĠĠ Ġid (" java - gradle - plugin ") ĊĠĠĠ Ġid (" groovy ") ĊĠĠĠ Ġid (" com . gradle . plugin - publish ") Ġversion Ġ" 0 . 1 1 . 0 " ĊĠĠĠ Ġ` maven - publish ` Ċ } Ċ Ċ gradle Plugin Ġ{ ĊĠĠĠ Ġplugins Ġ{ ĊĠĠĠĠĠĠĠ Ġcreate (" static Analysis ") Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġid Ġ= Ġ" com . gradle up . static - analysis " ĊĠĠĠĠĠĠĠĠĠĠĠ ĠdisplayName Ġ= Ġfind Property (" PO M _ NAME ") ?. toString () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġdescription Ġ= Ġfind Property (" PO M _ DESCRIPTION ") ?. toString () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġimplementation Class Ġ= Ġ" com . gradle up . static analysis . Static Analysis Plugin " ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ Ċ java Ġ{ ĊĠĠĠ Ġsource Compatibility Ġ= ĠJava Version . VERSION _ 1 _ 8 ĊĠĠĠ Ġtarget Compatibility Ġ= ĠJava Version . VERSION _ 1 _ 8 Ċ } Ċ Ċ plugin Bundle Ġ{ ĊĠĠĠ Ġwebsite Ġ= Ġ" https :// github . com / Gradle Up / static - analysis - plugin /" ĊĠĠĠ Ġv cs Url Ġ= Ġ" https :// github . com / Gradle Up / static - analysis - plugin . git " ĊĠĠĠ Ġtags Ġ= ĠlistOf (" pmd ", Ġ" check style ", Ġ" spot bugs ", Ġ" code - quality ", Ġ" de te kt ", Ġ" kt lint ", Ġ" lint ", Ġ" android - lint ", Ġ" Gradle Up ") Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġtest Implementation (" junit : junit : 4 . 1 3 ") ĊĠĠĠ Ġtest Implementation (" com . google . truth : truth : 0 . 3 0 ") ĊĠĠĠ Ġtest Implementation (" com . google . gu ava : gu ava : 1 9 . 0 ") ĊĠĠĠ Ġtest Implementation (" org . mockito : mockito - core : 3 . 1 1 . 1 ") ĊĠĠĠ Ġtest Implementation (" com . google . code . find bugs : js r 3 0 5 : 3 . 0 . 0 ") Ċ } Ċ Ċ publishing Ġ{ ĊĠĠĠ Ġpublications . with Type < Maven Publication > Ġ{ ĊĠĠĠĠĠĠĠ Ġartifact Id Ġ= Ġfind Property (" PO M _ AR TI FACT _ ID ") ?. toString () ĊĠĠĠĠĠĠĠ Ġpom Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġname . set ( find Property (" PO M _ NAME ") ?. toString ()) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġdescription . set ( find Property (" PO M _ DESCRIPTION ") ?. toString ()) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġpackaging Ġ= Ġfind Property (" PO M _ PACK AGING ") ?. toString () ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } ĊĊ