import Ġjava . io . FileInputStream Ċ import Ġjava . util . Properties Ċ Ċ plugins Ġ{ Ċ ĉ ` kotlin - dsl ` Ċ } Ċ Ċ // apply ( from Ġ= Ġ" load _ gradle _ properties . gradle . k ts ") Ċ Ċ val Ġproperties Ġ= ĠProperties () Ċ val Ġinput Ġ= ĠFileInputStream ( file ("../ gradle . properties ")) Ċ properties . load ( input ) Ċ input . close () Ċ Ċ for Ġ( key Ġin Ġproperties . string Property Names ()) Ġ{ Ċ ĉ extensions . extra Properties [ key ] Ġ= Ġproperties . getProperty ( key ) Ċ } Ċ Ċ group Ġ= Ġproject . properties [" project . group "]. toString () Ċ version Ġ= Ġproject . properties [" project . version "]. toString () Ċ Ċ repositories Ġ{ Ċ ĉ // ĠTODO ĠFix Ċ ĉ flat Dir Ġ{ Ċĉ ĉ dirs (" plugin ") Ċ ĉ } Ċ ĉ maven Local () Ċ ĉ gradle Plugin Portal () Ċ ĉ maven Central () Ċ ĉ j center () Ċ ĉ google () Ċ ĉ maven ( Ġurl Ġ= Ġ" https :// plugins . gradle . org / m 2 " Ġ) Ċ ĉ maven ( Ġurl Ġ= Ġ" https :// repo . gradle . org / gradle / libs - releases - local " Ġ) Ċ ĉ maven ( Ġurl Ġ= Ġ" https :// dl . bin tray . com / kotlin / kotlin - e ap " Ġ) Ċ ĉ maven ( Ġurl Ġ= Ġ" https :// dl . bin tray . com / kotlin / kotlin - dev " Ġ) Ċ } Ċ Ċ dependencies Ġ{ Ċ ĉ val Ġkotlin Version Ġ= Ġproject . properties [" kotlin . version "] ĊĊ ĉ test Compile (" junit : junit : 4 . 1 2 ") Ċ ĉ compile (" com . fasterxml . jackson . core : jackson - databind : 2 . 9 . 8 ") Ċ ĉ compile (" com . fasterxml . jackson . module : jackson - module - kotlin : 2 . 9 . 8 ") Ċ ĉ compile (" com . fasterxml . jackson . data format : jackson - data format - yaml : 2 . 9 . 8 ") ĊĊ ĉ compile (" com . android . tools . build : gradle : 3 . 3 . 2 ") Ċ ĉ compile (" org . jetbrains . kotlin : kotlin - gradle - plugin :$ kotlin Version ") Ċ ĉ compile ( gradle Api ()) Ċ ĉ compile (" org . jetbrains . kotlin . xcode - compat : org . jetbrains . kotlin . xcode - compat . gradle . plugin : 0 . 2 . 5 ") Ċ } Ċ