Home | History | Annotate | Download | only in MyApplication
      1 buildscript {
      2     repositories {
      3         jcenter()
      4     }
      5     dependencies {
      6         classpath 'com.android.tools.build:gradle:1.2.3'
      7 
      8         // NOTE: Do not place your application dependencies here; they belong
      9         // in the individual module build.gradle files
     10     }
     11 }
     12 
     13 allprojects {
     14     repositories {
     15         jcenter()
     16     }
     17 }
     18 
     19 apply plugin: 'com.android.application'
     20 
     21 android {
     22     compileSdkVersion 25
     23     buildToolsVersion '25.0.0'
     24     defaultConfig {
     25         applicationId 'com.android.layoutlib.test.myapplication'
     26         minSdkVersion 21
     27         targetSdkVersion 25
     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 
     46 dependencies {
     47     compile fileTree(dir: 'libs', include: ['*.jar'])
     48 }
     49