2014-05-07 10:31:28 -04:00
|
|
|
// please leave this here, so this library builds on its own
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2014-07-27 12:28:20 -04:00
|
|
|
classpath 'com.android.tools.build:gradle:0.12.2'
|
2014-05-07 10:31:28 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'android-library'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 19
|
2014-06-09 15:54:19 -04:00
|
|
|
buildToolsVersion '19.1'
|
2014-05-07 10:31:28 -04:00
|
|
|
|
|
|
|
// NOTE: We are using the old folder structure to also support Eclipse
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
manifest.srcFile 'AndroidManifest.xml'
|
|
|
|
java.srcDirs = ['src']
|
|
|
|
resources.srcDirs = ['src']
|
|
|
|
aidl.srcDirs = ['src']
|
|
|
|
renderscript.srcDirs = ['src']
|
|
|
|
res.srcDirs = ['res']
|
|
|
|
assets.srcDirs = ['assets']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Do not abort build if lint finds errors
|
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
}
|