plugins Ġ{ ĊĠĠĠ Ġid (" com . android . library ") ĊĠĠĠ Ġid (" kotlin - android - extensions ") ĊĠĠĠ Ġid (" kotlin - android ") ĊĠĠĠ Ġid (" kotlin - k apt ") Ċ } Ċ Ċ android Ġ{ ĊĠĠĠ Ġcompile Sdk Version ( Build Constants . compile Sdk Version ) ĊĠĠĠ Ġdefault Config Ġ{ ĊĠĠĠĠĠĠĠ Ġmin Sdk Version ( Build Constants . min Sdk Version ) ĊĠĠĠĠĠĠĠ Ġtarget Sdk Version ( Build Constants . target Sdk Version ) ĊĠĠĠĠĠĠĠ Ġversion Code Ġ= ĠBuild Constants . version Code ĊĠĠĠĠĠĠĠ Ġversion Name Ġ= ĠBuild Constants . version Name ĊĠĠĠĠĠĠĠ Ġtest Instrumentation Runner Ġ= ĠBuild Constants . test Instrumentation Runner ĊĠĠĠ Ġ} ĊĠĠĠ Ġbuild Types Ġ{ ĊĠĠĠĠĠĠĠ Ġget ByName (" release ") Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġis Min ify Enabled Ġ= ĠBuild Constants . minify Enabled ĊĠĠĠĠĠĠĠĠĠĠĠ Ġpro guard Files ( getDefault Pro guard File (" pro guard - android - optimize . txt "), Ġ" pro guard - rules . pro ") ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} ĊĠĠĠ Ġcompile Options Ġ{ ĊĠĠĠĠĠĠĠ Ġsource Compatibility Ġ= ĠJava Version . VERSION _ 1 _ 8 ĊĠĠĠĠĠĠĠ Ġtarget Compatibility Ġ= ĠJava Version . VERSION _ 1 _ 8 ĊĠĠĠ Ġ} Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġimplementation ( file Tree ( map Of (" dir " Ġto Ġ" libs ", Ġ" include " Ġto ĠlistOf (" *. jar ")) )) ĊĠĠĠ Ġimplementation ( project ( Dependencies . common )) ĊĠĠĠ Ġimplementation ( project ( Dependencies . domain _ objects )) ĊĊĠĠĠ Ġimplementation ( Dependencies . mos hi ) ĊĠĠĠ Ġk apt Ġ( Dependencies . mos hi K apt ) ĊĊĠĠĠ Ġ// ĠAllows Ġthe Ġtime Ġbackport Ġto Ġwork Ġduring Ġtesting ĊĠĠĠ Ġtest Implementation ( Dependencies . three Ten Java ) ĊĊĠĠĠ Ġ// ĠTesting ĊĠĠĠ Ġtest Implementation ( Dependencies . ro bo lectric ) ĊĠĠĠ Ġtest Implementation ( Dependencies . junit ) ĊĠĠĠ Ġtest Implementation ( Dependencies . mock k ) ĊĠĠĠ Ġandroid Test Implementation ( Dependencies . test Runner ) ĊĠĠĠ Ġandroid Test Implementation ( Dependencies . espress o Core ) Ċ } Ċ