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