37 lines
700 B
Groovy
37 lines
700 B
Groovy
![]() |
buildscript {
|
||
|
repositories {
|
||
|
jcenter()
|
||
|
}
|
||
|
dependencies {
|
||
|
classpath 'com.android.tools.build:gradle:1.3.1'
|
||
|
}
|
||
|
}
|
||
|
|
||
|
apply plugin: 'com.android.application'
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion 22
|
||
|
buildToolsVersion '23.0.0'
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdkVersion 8
|
||
|
targetSdkVersion 22
|
||
|
versionCode 1
|
||
|
versionName "1.0"
|
||
|
}
|
||
|
|
||
|
compileOptions {
|
||
|
compileOptions.encoding = "UTF-8"
|
||
|
|
||
|
// Use Java 1.7, requires minSdk 8
|
||
|
sourceCompatibility JavaVersion.VERSION_1_7
|
||
|
targetCompatibility JavaVersion.VERSION_1_7
|
||
|
}
|
||
|
|
||
|
lintOptions {
|
||
|
// Do not abort build if lint finds errors
|
||
|
abortOnError false
|
||
|
}
|
||
|
|
||
|
}
|