import Ġme . xx 2 bab . polyfill . build script . Build Config . Versions Ċ Ċ plugins Ġ{ ĊĠĠĠ Ġ` kotlin - dsl ` ĊĠĠĠ Ġ` java - gradle - plugin ` ĊĠĠĠ Ġid (" me . xx 2 bab . polyfill . build script . maven - central - publish ") ĊĠĠĠ Ġid (" me . xx 2 bab . polyfill . build script . functional - test - setup ") Ċ } Ċ Ċ dependencies Ġ{ ĊĠĠĠ Ġimplementation ( file Tree ( map Of (" dir " Ġto Ġ" libs ", Ġ" include " Ġto ĠarrayOf (" *. jar ")) )) ĊĠĠĠ Ġimplementation ( projects . android Manifest Parser ) ĊĠĠĠ Ġimplementation ( projects . android Ar sc Parser ) ĊĊĠĠĠ Ġimplementation ( gradle Api ()) ĊĠĠĠ Ġimplementation ( deps . kotlin . std ) ĊĠĠĠ Ġimplementation ( deps . kotlin . reflect ) ĊĊĠĠĠ Ġ// ĠLet Ġthe Ġtest Ġresource Ġor Ġuser Ġdecide ĊĠĠĠ Ġcompile Only ( deps . android . gradle . plugin ) ĊĠĠĠ Ġcompile Only ( deps . android . tools . common ) ĊĠĠĠ Ġcompile Only ( deps . android . tools . sdk common ) ĊĠĠĠ Ġcompile Only ( deps . android . tools . sdk lib ) ĊĊĠĠĠ Ġtest Implementation ( gradle Test Kit ()) ĊĠĠĠ Ġtest Implementation ( deps . junit ) ĊĠĠĠ Ġtest Implementation ( deps . mockito ) ĊĠĠĠ Ġtest Implementation ( deps . mockito Inline ) ĊĠĠĠ Ġtest Implementation ( deps . fast Json ) ĊĠĠĠ Ġtest Implementation ( deps . zip 4 j ) ĊĊĠĠĠ Ġ// ĠFor Ġfunctional Test Implementation ĊĠĠĠ Ġ// Ġplease Ġrefer Ġto Ġthe Ġfunctional - test - setup Ġscript Ċ } Ċ Ċ java Ġ{ ĊĠĠĠ Ġwith Sources Jar () ĊĠĠĠ Ġsource Compatibility Ġ= ĠVersions . polyfill Source Compatibility Version ĊĠĠĠ Ġtarget Compatibility Ġ= ĠVersions . polyfill Target Compatibility Version Ċ } Ċ Ċ gradle Plugin Ġ{ ĊĠĠĠ Ġplugins . register (" me . 2 bab . polyfill ") Ġ{ ĊĠĠĠĠĠĠĠ Ġid Ġ= Ġ" me . 2 bab . polyfill " ĊĠĠĠĠĠĠĠ Ġimplementation Class Ġ= Ġ" me . xx 2 bab . polyfill . Poly fill Plugin " ĊĠĠĠ Ġ} Ċ } Ċ tasks . with Type < Test > Ġ{ ĊĠĠĠ Ġtest Logging Ġ{ ĊĠĠĠĠĠĠĠ Ġthis . show Standard Streams Ġ= Ġtrue ĊĠĠĠ Ġ} Ċ }