2014-02-13 20:33:21 -05:00
|
|
|
// please leave this here, so this library builds on its own
|
2014-02-09 13:22:14 -05:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2014-03-06 13:02:07 -05:00
|
|
|
classpath 'com.android.tools.build:gradle:0.9.0'
|
2014-02-09 13:22:14 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'android-library'
|
|
|
|
|
|
|
|
android {
|
|
|
|
compileSdkVersion 19
|
2014-03-05 08:14:22 -05:00
|
|
|
buildToolsVersion '19.0.3'
|
2014-02-09 13:22:14 -05:00
|
|
|
|
2014-02-15 11:09:21 -05: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']
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-02-09 13:22:14 -05:00
|
|
|
// Do not abort build if lint finds errors
|
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
}
|