2014-02-21 11:38:20 -05:00
|
|
|
// please leave this here, so this library builds on its own
|
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2014-12-08 18:41:10 -05:00
|
|
|
classpath 'com.android.tools.build:gradle:1.0.0'
|
2014-02-21 11:38:20 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-26 12:06:20 -04:00
|
|
|
apply plugin: 'com.android.library'
|
2014-02-21 11:38:20 -05:00
|
|
|
|
|
|
|
android {
|
2014-12-08 18:41:10 -05:00
|
|
|
compileSdkVersion 21
|
2014-12-18 20:57:39 -05:00
|
|
|
buildToolsVersion '21.1.2'
|
2014-07-26 12:06:20 -04:00
|
|
|
|
2014-02-21 11:38:20 -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-09-18 09:18:41 -04:00
|
|
|
|
2014-02-21 11:38:20 -05:00
|
|
|
// Do not abort build if lint finds errors
|
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
|
|
|
}
|