import Ġorg . jetbrains . kotlin . gradle . tasks . Kotlin Compile ĊĊ Ċ plugins Ġ{ ĊĠĠĠ Ġjava ĊĠĠĠ Ġ` maven - publish ` ĊĠĠĠ Ġkotlin (" jvm ") Ġversion Ġ" 1 . 5 . 2 0 " ĊĠĠĠ Ġid (" com . github . ben - man es . versions ") Ġversion Ġ(" 0 . 3 8 . 0 ") ĊĠĠĠ Ġid (" org . jetbrains . dok ka ") Ġversion Ġ" 1 . 4 . 3 2 " ĊĠĠĠ Ġid Ġ(" com . github . john ren gel man . shadow ") Ġversion Ġ" 7 . 0 . 0 " Ċ } Ċ Ċ group Ġ= Ġ" me . ag gel los 2 0 0 1 . ks ur viv ale up l ugin " Ċ version Ġ= Ġ" 1 . 2 . 5 " Ċ val Ġproject Version Ġ= Ġversion Ċ Ċ repositories Ġ{ ĊĊĠĠĠ Ġmaven Central () ĊĠĠĠ Ġmaven Local () ĊĊĠĠĠ Ġmaven (" https :// jit pack . io ") ĊĠĠĠ Ġmaven (" https :// pap erm c . io / repo / repository / maven - public /") ĊĠĠĠ Ġmaven (" https :// hub . sp ig ot mc . org / nexus / content / groups / public /") ĊĠĠĠ Ġmaven (" https :// ci . ender . zone / plugin / repository / everything /") ĊĠĠĠ Ġmaven (" https :// repo . mat tst ud ios . me / art ifactory / public ") ĊĠĠĠ Ġmaven (" https :// repo . a ik ar . co / content / groups / a ik ar /") ĊĠĠĠ Ġmaven (" https :// maven . play pro . com ") ĊĠĠĠ Ġmaven (" https :// repo . essential sx . net / releases /") ĊĠĠĠ Ġmaven (" https :// dl . bin tray . com / ich bin jo e / public /") Ċ Ċ } Ċ Ċ dependencies Ġ{ ĊĊĠĠĠ Ġcompile Only (" io . pap erm c . paper : paper - api : 1 . 1 7 . 1 - R 0 . 1 - SNAPSHOT ") ĊĠĠĠ Ġcompile Only (" org . jetbrains : annotations : 2 0 . 1 . 0 ") ĊĠĠĠ Ġcompile Only (" net . luck perms : api : 5 . 3 ") ĊĠĠĠ Ġcompile Only (" net . ess 3 : Ess entials X : 2 . 1 8 . 2 ") ĊĠĠĠ Ġcompile Only (" net . core protect : core protect : 1 9 . 5 ") ĊĠĠĠ Ġcompile Only (" com . github . Nu V ot ifier : Nu V ot ifier : 2 . 7 . 2 ") ĊĊĠĠĠ Ġimplementation (" org . jetbrains . kotlin : kotlin - stdlib - jdk 8 ") ĊĠĠĠ Ġimplementation (" co . a ik ar : acf - paper : 0 . 5 . 0 - SNAPSHOT ") ĊĠĠĠ Ġimplementation (" co . a ik ar : task chain - bukkit : 3 . 7 . 2 ") ĊĠĠĠ Ġimplementation (" dev . tri ump ht e am : tri ump h - gui : 3 . 0 . 3 ") ĊĠĠĠ Ġimplementation (" com . github . linkedin : URL - Detector :- SNAPSHOT ") ĊĠĠĠ Ġimplementation (" me . mat tst ud ios : mf - msg - bukkit : 2 . 0 . 2 ") ĊĠĠĠ Ġimplementation (" com . github . ben - man es . caffe ine : caffe ine : 3 . 0 . 2 ") Ċ Ċ } Ċ Ċ tasks . with Type < Java Compile >(). configure Each Ġ{ ĊĠĠĠ Ġsource Compatibility Ġ= Ġ" 1 6 " ĊĠĠĠ Ġtarget Compatibility Ġ= Ġ" 1 6 " Ċ } Ċ Ċ tasks . with Type < Kotlin Compile >(). configure Each Ġ{ ĊĠĠĠ Ġkotlin Options Ġ{ ĊĠĠĠĠĠĠĠ Ġj vm Target Ġ= Ġ" 1 6 " ĊĠĠĠĠĠĠĠ Ġsource Compatibility Ġ= Ġ" 1 6 " ĊĠĠĠĠĠĠĠ Ġjava Parameters Ġ= Ġtrue ĊĠĠĠĠĠĠĠ Ġfree Compiler Args Ġ+= Ġ"- X opt - in = kotlin . time . Experimental Time " ĊĠĠĠ Ġ} Ċ } Ċ Ċ tasks . with Type < com . github . jen gel man . gradle . plugins . shadow . tasks . Shadow Jar >(). configure Each Ġ{ ĊĊĠĠĠ Ġre locate (" kotlin "," me . ag gel los 2 0 0 1 . kotlin ") ĊĠĠĠ Ġre locate (" co . a ik ar . commands "," me . ag gel los 2 0 0 1 . acf ") ĊĠĠĠ Ġre locate (" co . a ik ar . locales "," me . ag gel los 2 0 0 1 . locales ") ĊĠĠĠ Ġre locate (" co . a ik ar . task chain "," me . ag gel los 2 0 0 1 . task chain ") ĊĠĠĠ Ġre locate (" me . mat tst ud ios . mf msg "," me . ag gel los 2 0 0 1 . mf msg ") ĊĠĠĠ Ġre locate (" dev . tri ump ht e am . gui "," me . ag gel los 2 0 0 1 . tri ump ht e am - gui ") ĊĠĠĠ Ġre locate (" com . google . error pr one "," me . ag gel los 2 0 0 1 . error pr one ") ĊĠĠĠ Ġre locate (" com . github . ben man es . caffe ine . cache "," me . ag gel los 2 0 0 1 . caffe ine . cache ") ĊĠĠĠ Ġre locate (" com . linkedin . urls "," me . ag gel los 2 0 0 1 . linkedin . urls ") ĊĠĠĠ Ġre locate (" org . apache . commons . lang 3 "," me . ag gel los 2 0 0 1 . apache . commons . lang 3 ") ĊĠĠĠ Ġre locate (" org . jetbrains . annotations "," me . ag gel los 2 0 0 1 . annotations ") ĊĠĠĠ Ġre locate (" org . intellij "," me . ag gel los 2 0 0 1 . intellij ") ĊĠĠĠ Ġre locate (" org . checker framework "," me . ag gel los 2 0 0 1 . checker framework ") ĊĊĠĠĠ Ġarchive FileName . set (" KS ur v ival EU Plugin -$ project Version . jar ") Ċ Ċ } Ċ Ċ tasks . process Resources Ġ{ ĊĠĠĠ Ġexpand (" version " Ġto Ġversion ) Ċ } Ċ Ċ publishing Ġ{ ĊĠĠĠ Ġpublications Ġ{ ĊĠĠĠĠĠĠĠ Ġgroup Ġ= Ġproject . group ĊĠĠĠ Ġ} Ċ }