36 lines
636 B
Groovy
36 lines
636 B
Groovy
|
buildscript {
|
||
|
repositories {
|
||
|
maven { url 'http://repo1.maven.org/maven2' }
|
||
|
}
|
||
|
dependencies {
|
||
|
classpath 'com.android.tools.build:gradle:0.4'
|
||
|
}
|
||
|
}
|
||
|
apply plugin: 'android'
|
||
|
|
||
|
dependencies {
|
||
|
compile files('libs/android-support-v4.jar')
|
||
|
}
|
||
|
|
||
|
android {
|
||
|
compileSdkVersion 21
|
||
|
buildToolsVersion "21.1.2"
|
||
|
|
||
|
defaultConfig {
|
||
|
minSdkVersion 9
|
||
|
targetSdkVersion 21
|
||
|
}
|
||
|
sourceSets {
|
||
|
main {
|
||
|
manifest.srcFile "AndroidManifest.xml"
|
||
|
aidl.srcDirs = ["src"]
|
||
|
java.srcDirs = ["src"]
|
||
|
resources.srcDirs = ["src"]
|
||
|
renderscript.srcDirs = ["src"]
|
||
|
res.srcDirs = ["res"]
|
||
|
assets.srcDirs = ["assets"]
|
||
|
}
|
||
|
}
|
||
|
|
||
|
}
|