plugins Ġ{ ĊĠĠĠ Ġkotlin (" jvm ") Ġversion Ġ" 1 . 4 . 3 0 " ĊĠĠĠ Ġid (" com . github . john ren gel man . shadow ") Ġversion Ġ" 6 . 1 . 0 " Ċ } Ċ Ċ group Ġ= Ġ" com . r 4 g 3 b aby " Ċ version Ġ= Ġ" 3 . 6 . 2 " Ċ Ċ repositories Ġ{ ĊĠĠĠ Ġj center () ĊĊĠĠĠ Ġmaven ( uri (" https :// hub . sp ig ot mc . org / nexus / content / repositories / snapshots ")) ĊĠĠĠ Ġmaven ( uri (" https :// repo . dm ul loy 2 . net / nexus / repository / public / ")) ĊĠĠĠ Ġmaven ( uri (" https :// repo . extended clip . com / content / repositories / placeholder api / ")) ĊĠĠĠ Ġmaven ( uri (" https :// repo . code mc . org / repository / maven - public / ")) Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġimplementation ( kotlin (" stdlib - jdk 8 ")) ĊĊĠĠĠ Ġcompile Only (" org . bukkit : bukkit : 1 . 8 . 8 - R 0 . 1 - SNAPSHOT ") ĊĠĠĠ Ġcompile Only (" com . comp hen ix . protocol : Protocol Lib : 4 . 5 . 1 ") ĊĠĠĠ Ġcompile Only (" me . clip : placeholder api : 2 . 8 . 2 ") ĊĊĠĠĠ Ġimplementation (" org . code mc . world guard wrapper : world guard wrapper : 1 . 2 . 0 - SNAPSHOT ") ĊĠĠĠ Ġimplementation (" org . b stats : b stats - bukkit - lite : 1 . 7 ") Ċ } Ċ Ċ tasks Ġ{ ĊĠĠĠ Ġwith Type < Java Compile > Ġ{ ĊĠĠĠĠĠĠĠ Ġoptions . encoding Ġ= Ġ" UTF - 8 " ĊĠĠĠĠĠĠĠ Ġsource Compatibility Ġ= Ġ" 1 . 8 " ĊĠĠĠĠĠĠĠ Ġtarget Compatibility Ġ= Ġ" 1 . 8 " ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġwith Type < org . jetbrains . kotlin . gradle . tasks . Kotlin Compile > Ġ{ ĊĠĠĠĠĠĠĠ Ġkotlin Options . jvm Target Ġ= Ġ" 1 . 8 " ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġprocess Resources Ġ{ ĊĠĠĠĠĠĠĠ Ġfiltering Charset Ġ= Ġ" UTF - 8 " ĊĠĠĠĠĠĠĠ Ġfilter < org . apache . tools . ant . filters . Replace Tokens >( ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ" tokens " Ġto Ġmap Of ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠPair (" name ", Ġproject . name ), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠPair (" description ", Ġ" A Ġsimple Ġanimated Ġscore board Ġplugin Ġfor Ġyour Ġserver ."), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠPair (" url ", Ġ" https :// r 4 g 3 b aby . com "), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠPair (" package ", Ġ"${ project . group }.${ project . name . toLowerCase ()} "), ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ ĠPair (" version ", Ġproject . version ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġshadow Jar Ġ{ ĊĠĠĠĠĠĠĠ Ġarchive FileName . set ("${ project . name }-${ project . version }. jar ") ĊĊĠĠĠĠĠĠĠ Ġre locate (" org . code mc . world guard wrapper ", Ġ" com . r 4 g 3 b aby . simp les core . sh aded . world guard wrapper ") ĊĠĠĠĠĠĠĠ Ġre locate (" org . b stats ", Ġ" com . r 4 g 3 b aby . simp les core . sh aded . b stats ") ĊĠĠĠĠĠĠĠ Ġre locate (" org . jetbrains ", Ġ" com . r 4 g 3 b aby . simp les core . sh aded . jetbrains ") ĊĠĠĠĠĠĠĠ Ġre locate (" org . intellij ", Ġ" com . r 4 g 3 b aby . simp les core . sh aded . intellij ") ĊĠĠĠĠĠĠĠ Ġre locate (" kotlin ", Ġ" com . r 4 g 3 b aby . simp les core . sh aded . kotlin ") ĊĠĠĠ Ġ} Ċ }