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 22
     23     buildToolsVersion '21.1.2'
     24     defaultConfig {
     25         applicationId 'com.android.layoutlib.test.myapplication'
     26         minSdkVersion 21
     27         targetSdkVersion 22
     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     compileOptions {
     38         sourceCompatibility JavaVersion.VERSION_1_6
     39         targetCompatibility JavaVersion.VERSION_1_6
     40     }
     41 }
     42 
     43 dependencies {
     44     compile fileTree(dir: 'libs', include: ['*.jar'])
     45 }
     46