import Ġorg . gradle . kotlin . dsl .* Ċ import Ġorg . jetbrains . kotlin . gradle . dsl . Kotlin Jvm Options Ċ import Ġorg . jetbrains . kotlin . kon an . properties . has Property Ċ import Ġjava . io . FileInputStream Ċ import Ġjava . util .* Ċ Ċ plugins Ġ{ ĊĠ Ġid (" com . android . application ") ĊĠ Ġid (" kotlin - android ") ĊĠ Ġid (" kotlin - android - extensions ") ĊĊĠ Ġid (" org . jl le its ch uh . gradle . kt lint ") Ġversion Ġ" 8 . 1 . 0 " ĊĠ Ġid (" com . gl aded . android git version ") Ġversion Ġ" 0 . 4 . 1 0 " ĊĠ Ġid (" com . github . trip let . play ") Ġversion Ġ" 2 . 4 . 2 " Ċ } Ċ Ċ val Ġprops Ġ= ĠProperties (). apply Ġ{ ĊĠ Ġtry Ġ{ Ġload ( FileInputStream ( root Project . file (" local . properties "))) Ġ} ĊĠ Ġcatch ( e : ĠException ) Ġ{} Ċ } Ċ Ċ android Git Version Ġ{ ĊĠ Ġcode Format Ġ= Ġ" M NN N PP P " ĊĠ Ġformat Ġ= Ġ"% tag %% - count %% - commit %% - branch %" Ċ } Ċ Ċ android Ġ{ ĊĠ Ġcompile Options Ġ{ ĊĠĠĠ Ġsource Compatibility Ġ= ĠJava Version . VERSION _ 1 _ 8 ĊĠĠĠ Ġtarget Compatibility Ġ= ĠJava Version . VERSION _ 1 _ 8 ĊĠ Ġ} ĊĊĠ Ġkotlin Options Ġ{ ĊĠĠĠ Ġ( this Ġas ĠKotlin Jvm Options ). apply Ġ{ ĊĠĠĠĠĠ Ġj vm Target Ġ= ĠJava Version . VERSION _ 1 _ 8 . toString () ĊĠĠĠ Ġ} ĊĠ Ġ} ĊĊĠ Ġbuild Tools Version Ġ= Ġ" 2 9 . 0 . 3 " ĊĠ Ġcompile Sdk Version ( 2 9 ) ĊĊĠ Ġdefault Config Ġ{ ĊĠĠĠ Ġapplication Id Ġ= Ġ" com . github . ap og nu . ot ter " ĊĊĠĠĠ Ġmin Sdk Version ( 2 3 ) ĊĠĠĠ Ġtarget Sdk Version ( 2 9 ) ĊĊĠĠĠ Ġversion Code Ġ= Ġandroid Git Version . code () ĊĠĠĠ Ġversion Name Ġ= Ġandroid Git Version . name () ĊĠ Ġ} ĊĊĠ Ġsigning Configs Ġ{ ĊĠĠĠ Ġcreate (" release ") Ġ{ ĊĠĠĠĠĠ Ġif Ġ( props . has Property (" signing . store ")) Ġ{ ĊĠĠĠĠĠĠĠ Ġstore File Ġ= Ġfile ( props . getProperty (" signing . store ")) ĊĠĠĠĠĠĠĠ Ġstore Password Ġ= Ġprops . getProperty (" signing . store _ pass phrase ") ĊĠĠĠĠĠĠĠ Ġkey Alias Ġ= Ġprops . getProperty (" signing . alias "). toString () ĊĠĠĠĠĠĠĠ Ġkey Password Ġ= Ġprops . getProperty (" signing . key _ pass phrase ") ĊĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĠ Ġ} ĊĊĠ Ġbuild Types Ġ{ ĊĠĠĠ Ġget ByName (" debug ") Ġ{ ĊĠĠĠĠĠ Ġis Debug gable Ġ= Ġtrue ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġget ByName (" release ") Ġ{ ĊĠĠĠĠĠ Ġif Ġ( props . has Property (" signing . store ")) Ġ{ ĊĠĠĠĠĠĠĠ Ġsigning Config Ġ= Ġsigning Configs . get ByName (" release ") ĊĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠ Ġis Min ify Enabled Ġ= Ġfalse ĊĊĠĠĠĠĠ Ġpro guard File ( getDefault Pro guard File (" pro guard - android - optimize . txt ")) ĊĠĠĠĠĠ Ġpro guard File (" pro guard - rules . pro ") ĊĠĠĠ Ġ} ĊĠ Ġ} Ċ } Ċ Ċ kt lint Ġ{ ĊĠ Ġdebug . set ( false ) ĊĠ Ġverbose . set ( false ) Ċ } Ċ Ċ play Ġ{ ĊĠ Ġis Enabled Ġ= Ġprops . has Property (" play . credentials ") ĊĊĠ Ġif Ġ( isEnabled ) Ġ{ ĊĠĠĠ Ġservice Account Credentials Ġ= Ġfile ( props . getProperty (" play . credentials ")) ĊĠĠĠ Ġdefault To App Bund les Ġ= Ġtrue ĊĠĠĠ Ġtrack Ġ= Ġ" beta " ĊĠ Ġ} Ċ } Ċ Ċ dependencies Ġ{ ĊĠ Ġimplementation ( file Tree ( map Of (" dir " Ġto Ġ" libs ", Ġ" include " Ġto ĠlistOf (" *. jar ")) )) ĊĊĠ Ġimplementation (" org . jetbrains . kotlin : kotlin - stdlib - jdk 7 : 1 . 3 . 6 1 ") ĊĠ Ġimplementation (" org . jetbrains . kotlin x : kotlin x - coroutines - core : 1 . 3 . 2 ") ĊĠ Ġimplementation (" org . jetbrains . kotlin x : kotlin x - coroutines - android : 1 . 3 . 2 ") ĊĊĠ Ġimplementation (" android x . appcompat : appcompat : 1 . 1 . 0 ") ĊĠ Ġimplementation (" android x . core : core - k tx : 1 . 4 . 0 - alpha 0 1 ") ĊĠ Ġimplementation (" android x . coordinator layout : coordinator layout : 1 . 1 . 0 ") ĊĠ Ġimplementation (" android x . preference : preference : 1 . 1 . 1 ") ĊĠ Ġimplementation (" android x . recyclerview : recyclerview : 1 . 1 . 0 ") ĊĠ Ġimplementation (" android x . swiper ef resh layout : swiper ef resh layout : 1 . 0 . 0 ") ĊĠ Ġimplementation (" com . google . android . material : material : 1 . 2 . 0 - alpha 0 6 ") ĊĠ Ġimplementation (" com . android . support . constraint : constraint - layout : 1 . 1 . 3 ") ĊĊĠ Ġimplementation (" com . google . android . ex op layer : ex op layer : 2 . 1 0 . 5 ") ĊĠ Ġimplementation (" com . google . android . ex op layer : extension - medi ase ssion : 2 . 1 0 . 6 ") ĊĠ Ġ// Ġimplementation (" com . google . android . ex op layer : extension - cast : 2 . 1 0 . 6 ") ĊĠ Ġimplementation (" com . github . Pa ul Wo itas che k . Exo Player - Extensions : extension - fl ac : 2 . 1 0 . 5 ") Ġ{ ĊĠĠĠ Ġis Trans itive Ġ= Ġfalse ĊĠ Ġ} ĊĠ Ġimplementation (" com . ali ass adi : power - preference - lib : 1 . 4 . 1 ") ĊĠ Ġimplementation (" com . github . kit tin un f . fuel : fuel : 2 . 1 . 0 ") ĊĠ Ġimplementation (" com . github . kit tin un f . fuel : fuel - coroutines : 2 . 1 . 0 ") ĊĠ Ġimplementation (" com . github . kit tin un f . fuel : fuel - android : 2 . 1 . 0 ") ĊĠ Ġimplementation (" com . github . kit tin un f . fuel : fuel - gson : 2 . 1 . 0 ") ĊĠ Ġimplementation (" com . google . code . gson : gson : 2 . 8 . 5 ") ĊĠ Ġimplementation (" com . squareup . pic asso : pic asso : 2 . 7 1 8 2 8 ") ĊĠ Ġimplementation (" jp . was ab eef : pic asso - transform ations : 2 . 2 . 1 ") Ċ } Ċ