// ĠTop - level Ġbuild Ġfile Ġwhere Ġyou Ġcan Ġadd Ġconfiguration Ġoptions Ġcommon Ġto Ġall Ġsub - projects / modules . Ċ plugins Ġ{ ĊĠĠĠ Ġid (" com . android . application ") Ġversion ĠVersions . Android Build . android Gradle Plugin Ġapply Ġfalse ĊĠĠĠ Ġid (" com . android . library ") Ġversion ĠVersions . Android Build . android Gradle Plugin Ġapply Ġfalse ĊĠĠĠ Ġkotlin (" android ") Ġversion ĠVersions . Kotlin . kotlin Ġapply Ġfalse ĊĠĠĠ Ġkotlin (" plugin . serialization ") Ġversion ĠVersions . Kotlin . kotlin Ġapply Ġfalse Ċ } Ċ Ċ build script Ġ{ ĊĠĠĠ Ġdependencies Ġ{ ĊĠĠĠĠĠĠĠ Ġclasspath (" com . google . gms : google - services :${ Versions . Firebase . google Services }") ĊĊĠĠĠĠĠĠĠ Ġclasspath (" com . google . firebase : firebase - crash ly t ics - gradle :${ Versions . Firebase . firebase Crash ly t ics Gradle Plugin }") ĊĠĠĠ Ġ} Ċ } Ċ Ċ extensions . find ByName (" build Scan ") ?. with Gro ovy Builder Ġ{ ĊĠĠĠ Ġset Property (" terms Of Service Url ", Ġ" https :// gradle . com / terms - of - service ") ĊĠĠĠ Ġset Property (" terms Of Service Ag ree ", Ġ" yes ") Ċ } Ċ Ċ tasks . register < Delete >(" clean ") Ġ{ ĊĠĠĠ Ġdelete ( root Project . build Dir ) Ċ } Ċ