plugins Ġ{ ĊĠĠĠ Ġid (" com . android . application ") ĊĠĠĠ Ġkotlin (" android ") ĊĠĠĠ Ġid (" org . jl le its ch uh . gradle . kt lint ") Ċ } Ċ Ċ android Ġ{ ĊĠĠĠ Ġcompile Sdk Version ( 3 0 ) ĊĊĠĠĠ Ġbuild Features . view Binding Ġ= Ġtrue ĊĊĠĠĠ Ġdefault Config Ġ{ ĊĠĠĠĠĠĠĠ Ġmin Sdk Version ( 2 3 ) ĊĠĠĠĠĠĠĠ Ġtarget Sdk Version ( 3 0 ) ĊĠĠĠĠĠĠĠ Ġ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 ") ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġflavor Dimensions (" beer ") ĊĠĠĠ Ġproduct Fl avors Ġ{ ĊĠĠĠĠĠĠĠ Ġregister (" we iss b ier ") ĊĠĠĠĠĠĠĠ Ġregister (" k eller b ier ") ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġcompile Options Ġ{ ĊĠĠĠĠĠĠĠ Ġsource Compatibility Ġ= ĠJava Version . VERSION _ 1 _ 8 ĊĠĠĠĠĠĠĠ Ġtarget Compatibility Ġ= ĠJava Version . VERSION _ 1 _ 8 ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġsource Sets Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġkotlin Additional Source Sets Ġ= Ġproject . file (" src / main / kotlin ") ĊĠĠĠĠĠĠĠ Ġfind ByName (" main ") ?. java ?. src Dirs ( kotlin Additional Source Sets ) ĊĠĠĠ Ġ} Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġimplementation (" android x . fragment : fragment - k tx :${ Samples Versions . android X Fragment }") ĊĠĠĠ Ġimplementation (" android x . recyclerview : recyclerview :${ Samples Versions . android X RecyclerView }") ĊĠĠĠ Ġimplementation (" com . google . android . material : material :${ Samples Versions . android Material }") ĊĊĠĠĠ Ġtest Implementation (" junit : junit :${ Samples Versions . junit }") ĊĊĠĠĠ Ġandroid Test Implementation (" android x . test : runner :${ Samples Versions . android X TestRunner }") ĊĠĠĠ Ġandroid Test Implementation ( ĊĠĠĠĠĠĠĠ Ġ" android x . test . espress o : espress o - core :${ Samples Versions . android XE sp ress o }" ĊĠĠĠ Ġ) Ċ } Ċ Ċ kt lint Ġ{ ĊĠĠĠ Ġandroid . set ( true ) ĊĠĠĠ Ġoutput Color Name . set (" RED ") Ċ } Ċ