import Ġdev . wh yo leg . k amp .* Ċ import Ġdev . wh yo leg . k amp . configuration .* Ċ import Ġdev . wh yo leg . k amp . ext .* Ċ import Ġdev . wh yo leg . k amp . publishing .* Ċ import Ġdev . wh yo leg . k amp . settings .* Ċ import Ġorg . gradle . api .* Ċ Ċ const Ġval Ġj dk Version Ġ= Ġ" 1 . 8 " Ċ Ċ private Ġval Ġconfiguration Ġ= ĠProject Configuration (" dev . wh yo leg . k amp ", Ġ" k amp ") Ġ{ ĊĠĠĠ Ġif Ġ( properties [" local "] Ġ== Ġ" true ") Ġ" local " Ġelse Ġ" 0 . 1 . 1 2 " Ċ } Ċ Ċ @ K amp DSL Ċ fun ĠProject . configured Library ( block : ĠK amp Jvm Extension . () Ġ-> ĠUnit ) Ġ= Ġk amp Jvm ( configuration ) Ġ{ ĊĠĠĠ Ġoptions Ġ{ ĊĠĠĠĠĠĠĠ Ġj vm Target Ġ= Ġj dk Version ĊĠĠĠĠĠĠĠ Ġsource Compatibility Ġ= Ġj dk Version ĊĠĠĠĠĠĠĠ Ġtarget Compatibility Ġ= Ġj dk Version ĊĠĠĠ Ġ} ĊĠĠĠ Ġlanguage Settings Ġ{ ĊĠĠĠĠĠĠĠ Ġprogress ive Mode Ġ= Ġtrue ĊĠĠĠĠĠĠĠ Ġlanguage Features Ġ+= ĠLanguage Feature . values () ĊĠĠĠĠĠĠĠ Ġexperimental Annotations Ġ+= ĠExperimental Annotation . values () ĊĠĠĠ Ġ} ĊĠĠĠ Ġapply ( block ) Ċ } Ċ Ċ val Ġpublication Ġ= ĠPublic ation ( ĊĠĠĠ Ġname Ġ= Ġ" k amp ", ĊĠĠĠ Ġdescription Ġ= Ġ" Gradle Ġplugin Ġfor Ġkotlin ĠM PP ", ĊĠĠĠ Ġlicenses Ġ= ĠlistOf ( License (" Apache - 2 . 0 ", Ġ" http :// www . apache . org / licenses / LICENSE - 2 . 0 . txt ", Ġ" repo ")), ĊĠĠĠ Ġdevelopers Ġ= ĠlistOf ( Developer (" wh yo leg ", Ġ" O leg ", Ġ" wh yo leg @ gmail . com ")), ĊĠĠĠ Ġlabels Ġ= ĠlistOf (" Kotlin ", Ġ" MP P ", Ġ" Plugin "), ĊĠĠĠ Ġsc m Connections Ġ= Ġ" scm : git : git @ github . com : wh yo leg / k amp . git ", ĊĠĠĠ Ġv cs Url Ġ= Ġ" git @ github . com : wh yo leg / k amp . git ", ĊĠĠĠ Ġwebsite Url Ġ= Ġ" https :// github . com / wh yo leg / k amp ", ĊĠĠĠ Ġgithub Url Ġ= Ġ" https :// github . com / wh yo leg / k amp " Ċ ) Ċ