plugins Ġ{ ĊĠ Ġid (" com . android . application ") ĊĠ Ġkotlin (" android ") ĊĠ Ġkotlin (" k apt ") ĊĠ Ġid (" d agger . h ilt . android . plugin ") ĊĠ Ġid (" com . hu awei . ag connect ") ĊĠ Ġid (" kotlin - android ") Ċ } Ċ Ċ android Ġ{ ĊĠ Ġcompile Sdk Version ( 2 9 ) ĊĊĠ Ġdefault Config Ġ{ ĊĠĠĠ Ġapplication Id Ġ= Ġ" de . nan og i ants . a 5 gar app " ĊĠĠĠ Ġmin Sdk Version ( 2 6 ) ĊĠĠĠ Ġtarget Sdk Version ( 2 9 ) ĊĠĠĠ Ġversion Code Ġ= Ġ 1 ĊĠĠĠ Ġversion Name Ġ= Ġ" 1 . 0 " ĊĊĠĠĠ Ġbuild Config Field (" String ", Ġ" BASE _ URL ", Ġ"\" https :// 5 gar . ver cel . app / api / \" ") ĊĠ Ġ} ĊĠ Ġsigning Configs Ġ{ ĊĠĠĠ Ġget ByName (" debug ") Ġ{ ĊĠĠĠĠĠ Ġstore File Ġ= Ġfile ("../ debug . keystore ") ĊĠĠĠĠĠ Ġstore Password Ġ= Ġfind Property (" 5 gar - store pass ") Ġas ĠString ? Ġ?: Ġ" android " ĊĠĠĠĠĠ Ġkey Alias Ġ= Ġfind Property (" 5 gar - key alias ") Ġas ĠString ? Ġ?: Ġ" android debug " ĊĠĠĠĠĠ Ġkey Password Ġ= Ġfind Property (" 5 gar - key pass ") Ġas ĠString ? Ġ?: Ġ" android " ĊĠĠĠ Ġ} ĊĠ Ġ} ĊĠ Ġbuild Types Ġ{ ĊĠĠĠ Ġget ByName (" release ") Ġ{ ĊĠĠĠĠĠ Ġis Shrink Resources Ġ= Ġfalse ĊĠĠĠĠĠ Ġis Min ify Enabled Ġ= Ġfalse ĊĠĠĠ Ġ} ĊĠ Ġ} ĊĠ Ġsource Sets Ġ{ ĊĠĠĠ Ġget ByName (" main "). java . src Dirs (" src / main / kotlin ") ĊĠ Ġ} ĊĠ Ġcompile Options Ġ{ ĊĠĠĠ Ġsource Compatibility Ġ= ĠJava Version . VERSION _ 1 _ 8 ĊĠĠĠ Ġtarget Compatibility Ġ= ĠJava Version . VERSION _ 1 _ 8 ĊĠ Ġ} ĊĠ Ġkotlin Options Ġ{ ĊĠĠĠ Ġj vm Target Ġ= ĠJava Version . VERSION _ 1 _ 8 . toString () ĊĠĠĠ Ġfree Compiler Args Ġ= ĠlistOf ("- X jvm - default = all ") ĊĠ Ġ} ĊĠ Ġbuild Features Ġ{ ĊĠĠĠ Ġview Binding Ġ= Ġtrue ĊĠĠĠ Ġa idl Ġ= Ġfalse ĊĠĠĠ Ġrender Script Ġ= Ġfalse ĊĠĠĠ Ġres Values Ġ= Ġfalse ĊĠĠĠ Ġshaders Ġ= Ġfalse ĊĠ Ġ} Ċ } Ċ Ċ repositories Ġ{ ĊĠ Ġgoogle () ĊĠ Ġmaven Central () ĊĠ Ġj center () ĊĠ Ġmaven (" https :// developer . hu awei . com / repo /") ĊĠ Ġmaven (" https :// jit pack . io ") Ċ } Ċ Ċ dependencies Ġ{ ĊĠ Ġ// ĠKotlin ĊĠ Ġimplementation (" org . jetbrains . kotlin x : kotlin x - coroutines - android : 1 . 3 . 9 ") ĊĊĠ Ġ// ĠAndroid X ĊĠ Ġimplementation (" android x . appcompat : appcompat : 1 . 3 . 0 - alpha 0 2 ") ĊĠ Ġimplementation (" android x . core : core - k tx : 1 . 5 . 0 - alpha 0 2 ") ĊĠ Ġimplementation (" android x . activity : activity : 1 . 2 . 0 - alpha 0 8 ") ĊĠ Ġimplementation (" android x . fragment : fragment : 1 . 3 . 0 - alpha 0 8 ") ĊĠ Ġimplementation (" android x . lifecycle : lifecycle - runtime - k tx : 2 . 3 . 0 - alpha 0 7 ") ĊĠ Ġimplementation (" android x . recyclerview : recyclerview : 1 . 2 . 0 - alpha 0 5 ") ĊĠ Ġimplementation (" android x . constraint layout : constraint layout : 2 . 0 . 1 ") ĊĊĠ Ġ// ĠUI ĊĠ Ġimplementation (" com . google . android . material : material : 1 . 3 . 0 - alpha 0 2 ") ĊĠ Ġimplementation (" io . co il - kt : co il : 1 . 0 . 0 - rc 1 ") ĊĠ Ġimplementation (" me . zhang hai . android . material rating bar : library : 1 . 4 . 0 ") ĊĠ Ġimplementation (" com . github . st f alcon : st f alcon - image viewer : 1 . 0 . 1 ") ĊĊĠ Ġ// ĠMisc ĊĠ Ġimplementation (" com . jak ew h art on . tim ber : tim ber : 4 . 7 . 1 ") ĊĠ Ġimplementation (" io . github . ser pro 6 9 : kotlin - faker : 1 . 4 . 1 ") ĊĠ Ġimplementation (" com . github . le l lo man : android - ident icons : v 1 1 ") ĊĊĠ Ġ// ĠWeb ĊĠ Ġimplementation (" com . squareup . mos hi : mos hi : 1 . 1 0 . 0 ") ĊĠ Ġimplementation (" org . jetbrains . kotlin : kotlin - stdlib :${ root Project . extra [" kotlin _ version "] }") ĊĠ Ġk apt (" com . squareup . mos hi : mos hi - kotlin - codegen : 1 . 1 0 . 0 ") ĊĠ Ġimplementation (" com . squareup . okhttp 3 : okhttp : 4 . 8 . 1 ") ĊĠ Ġimplementation (" com . squareup . okhttp 3 : logging - interceptor : 4 . 8 . 1 ") ĊĠ Ġimplementation (" com . squareup . ret rofit 2 : ret rofit : 2 . 9 . 0 ") ĊĠ Ġimplementation (" com . squareup . ret rofit 2 : converter - mos hi : 2 . 9 . 0 ") ĊĊĠ Ġ// ĠD agger ĊĠ Ġimplementation (" com . google . d agger : h ilt - android :${ properties [" d agger Version "] }") ĊĠ Ġk apt (" com . google . d agger : h ilt - android - compiler :${ properties [" d agger Version "] }") ĊĊĠ Ġ// ĠHu awei ĊĠ Ġimplementation (" com . hu awei . h ms : are ng ines dk : 2 . 1 2 . 0 . 1 ") ĊĠ Ġimplementation (" com . hu awei . h ms : location : 5 . 0 . 0 . 3 0 1 ") ĊĠ Ġimplementation (" com . hu awei . h ms : maps : 5 . 0 . 1 . 3 0 0 ") ĊĠ Ġimplementation (" com . hu awei . h ms : site : 5 . 0 . 1 . 3 0 0 ") ĊĠ Ġimplementation (" com . hu awei . h ms : pan orama : 5 . 0 . 2 . 3 0 0 ") ĊĠ Ġimplementation (" com . hu awei . h ms : pan orama - local : 5 . 0 . 2 . 3 0 0 ") ĊĠ Ġimplementation (" com . hu awei . scene kit : full - sdk : 5 . 0 . 2 . 3 0 0 ") ĊĠ Ġimplementation (" com . hu awei . h ms : ml - computer - voice - tts : 2 . 0 . 2 . 3 0 0 ") ĊĠ Ġimplementation (" com . hu awei . ag connect : ag connect - core :${ properties [" ag cp Version "] }") Ċ } Ċ Ċ k apt Ġ{ ĊĠ Ġcorrect Error Types Ġ= Ġtrue Ċ }