1buildscript { 2 repositories { 3 jcenter() 4 } 5 dependencies { 6 classpath 'com.android.tools.build:gradle:3.0.0-beta5' 7 8 // NOTE: Do not place your application dependencies here; they belong 9 // in the individual module build.gradle files 10 } 11} 12 13allprojects { 14 repositories { 15 jcenter() 16 } 17} 18 19apply plugin: 'com.android.application' 20 21android { 22 compileSdkVersion 26 23 buildToolsVersion '26.0.2' 24 defaultConfig { 25 applicationId 'com.android.layoutlib.test.myapplication' 26 minSdkVersion 21 27 targetSdkVersion 26 28 versionCode 1 29 versionName '1.0' 30 } 31 buildTypes { 32 release { 33 minifyEnabled false 34 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 35 } 36 } 37 lintOptions { 38 abortOnError false 39 } 40 compileOptions { 41 sourceCompatibility JavaVersion.VERSION_1_6 42 targetCompatibility JavaVersion.VERSION_1_6 43 } 44} 45 46dependencies { 47 compile fileTree(dir: 'libs', include: ['*.jar']) 48} 49