1// Top-level build file where you can add configuration options common to all sub-projects/modules. 2 3buildscript { 4 repositories { 5 google() 6 jcenter() 7 } 8 dependencies { 9 classpath "com.android.tools.build:gradle:3.1.0" 10 11 // NOTE: Do not place your application dependencies here; they belong 12 // in the individual module build.gradle files 13 } 14} 15 16allprojects { 17 repositories { 18 google() 19 jcenter() 20 } 21} 22 23task clean(type: Delete) { 24 delete rootProject.buildDir 25} 26 27Properties properties = new Properties() 28if (project.rootProject.file('local.properties').exists()) { 29 def is = project.rootProject.file('local.properties').newDataInputStream() 30 properties.load(is) 31 is.close() 32} 33 34ext { 35 abiName = properties.get("abi.name") 36}