tasks . wrapper Ġ{ Ċ ĉ distribution Type Ġ= ĠWrapper . Distribution Type . ALL Ċ } Ċ Ċ plugins Ġ{ Ċ ĉ ` java - library ` Ċ ĉ groovy Ċ ĉ ` maven - publish ` Ċ ĉ id (" org . aj ober star . re ck on ") Ġversion Ġ" 0 . +" Ċ } Ċ Ċ repositories Ġ{ Ċ ĉ maven Central () Ċ } Ċ dependencies Ġ{ Ċ ĉ test Implementation ( libs . bundles . test ) ĊĊ ĉ dependency Lock ing Ġ{ Ċĉ ĉ lock All Configurations () Ċ ĉ } Ċ } Ċ Ċ java Ġ{ Ċ ĉ with Sources Jar () Ċ ĉ with Javadoc Jar () Ċ } Ċ Ċ tasks . test Ġ{ Ċ ĉ use JUnit Platform () Ċ } Ċ Ċ re ck on Ġ{ Ċ ĉ scope From Prop () Ċ ĉ snapshot From Prop () Ċ } Ċ tasks . re ck on Tag Create Ġ{ Ċ ĉ depends On ( tasks . check ) Ċ } Ċ Ċ publishing Ġ{ Ċ ĉ publications Ġ{ Ċĉ ĉ create < Maven Publication >(" mvn ") Ġ{ Ċĉĉ ĉ from ( components [" java "]) Ċĉ ĉ } Ċ ĉ } ĊĊ ĉ repositories Ġ{ Ċĉ ĉ maven Ġ{ Ċĉĉ ĉ name Ġ= Ġ" GitHub Packages " Ċĉĉ ĉ url Ġ= Ġuri (" https :// maven . pkg . github . com / kk or oly ov / fl ub ") Ċĉĉ ĉ credentials Ġ{ Ċĉĉĉ ĉ username Ġ= ĠSystem . getenv (" GITHUB _ ACT OR ") Ċĉĉĉ ĉ password Ġ= ĠSystem . getenv (" GITHUB _ TOKEN ") Ċĉĉ ĉ } Ċĉ ĉ } Ċ ĉ } Ċ } Ċ