import Ġcom . android . build . gradle . Pro guard Files . getDefault Pro guard File Ċ import Ġdeps . d agger . android Ċ import Ġorg . jetbrains . kotlin . gradle . internal . Android Extensions Extension Ċ import Ġorg . jetbrains . kotlin . k apt 3 . base . K apt . k apt Ċ Ċ plugins Ġ{ Ċ ĉ id (" com . android . application ") Ċ ĉ kotlin (" android . extensions ") Ċ ĉ kotlin (" android ") Ċ ĉ kotlin (" k apt ") Ċ ĉ id (" android x . navigation . safe args ") Ċ } Ċ Ċ android Ġ{ Ċ ĉ compile Sdk Version ( 2 8 ) Ċ ĉ default Config Ġ{ Ċĉ ĉ application Id Ġ= Ġ" com . g he de on . trend roid " Ċĉ ĉ min Sdk Version ( 1 6 ) Ċĉ ĉ target Sdk Version ( 2 8 ) Ċĉ ĉ version Code Ġ= Ġ 1 Ċĉ ĉ version Name Ġ= Ġ" 1 . 0 " Ċĉ ĉ test Instrumentation Runner Ġ= Ġ" android x . test . runner . Android JUnit Runner " Ċ ĉ } Ċ ĉ build Types Ġ{ Ċĉ ĉ get ByName (" release ") Ġ{ Ċĉĉ ĉ is Min ify Enabled Ġ= Ġfalse Ċĉĉ ĉ pro guard Files ( getDefault Pro guard File (" pro guard - android . txt "), Ġ" pro guard - rules . pro ") Ċĉ ĉ } Ċ ĉ } ĊĉĊ ĉ build Types . forEach Ġ{ Ċĉ ĉ it . build Config Field (" String ", Ġ" GITHUB _ URL ", Ġ"\" https :// github . com / \" ") Ċĉ ĉ it . build Config Field (" String ", Ġ" GITHUB _ API _ URL ", Ġ"\" https :// api . github . com / \" ") Ċ ĉ } ĊĉĊ ĉ android Extensions Ġ{ Ċĉ ĉ // Ġhttps :// github . com / gradle / kotlin - dsl / issues / 6 4 4 Ċĉ ĉ configure ( delegate Closure Of < Android Extensions Extension > Ġ{ Ċĉĉ ĉ is Experimental Ġ= Ġtrue Ċĉ ĉ }) Ċ ĉ } ĊĉĊ ĉ compile Options Ġ{ Ċĉ ĉ set Source Compatibility ( Java Version . VERSION _ 1 _ 8 ) Ċĉ ĉ setTarget Compatibility ( Java Version . VERSION _ 1 _ 8 ) Ċ ĉ } Ċ } Ċ Ċ k apt Ġ{ Ċ ĉ correct Error Types Ġ= Ġtrue Ċ } Ċ Ċ dependencies Ġ{ Ċ ĉ implementation ( deps . kotlin . stdlib ) Ċ ĉ implementation ( deps . kotlin . coroutines _ core ) Ċ ĉ implementation ( deps . kotlin . coroutines _ android ) ĊĉĊ ĉ implementation ( deps . android x . appcompat ) Ċ ĉ implementation ( deps . android x . core ) Ċ ĉ implementation ( deps . android x . card view ) Ċ ĉ implementation ( deps . android x . recyclerview ) Ċ ĉ implementation ( deps . android x . fragment ) ĊĉĊ ĉ implementation ( deps . lifecycle . extensions ) Ċ ĉ implementation ( deps . lifecycle . java 8 ) Ċ ĉ implementation ( deps . lifecycle . shop ify _ li ved ata _ k tx ) Ċ ĉ implementation ( deps . lifecycle . li ved ata _ k tx ) ĊĉĊ ĉ implementation ( deps . constraint _ layout ) ĊĉĊ ĉ implementation ( deps . navigation . fragment ) Ċ ĉ implementation ( deps . navigation . ui ) ĊĉĊ ĉ implementation ( deps . d agger . runtime ) Ċ ĉ implementation ( deps . d agger . android ) Ċ ĉ implementation ( deps . d agger . support ) ĊĉĊ ĉ implementation ( deps . okhttp . core ) Ċ ĉ implementation ( deps . okhttp . logging ) Ċ ĉ implementation ( deps . ret rofit . runtime ) Ċ ĉ implementation ( deps . ret rofit . mos hi _ converter ) Ċ ĉ implementation ( deps . ret rofit . coroutines _ adapter ) ĊĉĊ ĉ implementation ( deps . e po xy . runtime ) Ċ ĉ implementation ( deps . glide . runtime ) Ċ ĉ implementation ( deps . js oup ) Ċ ĉ implementation ( deps . video view ) Ċ ĉ implementation ( deps . tim ber ) ĊĉĊ ĉ k apt ( deps . d agger . compiler ) Ċ ĉ k apt ( deps . d agger . processor ) Ċ ĉ k apt ( deps . e po xy . processor ) Ċ ĉ k apt ( deps . glide . compiler ) Ċ } Ċ