mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 11:42:16 -05:00
36 lines
823 B
Groovy
36 lines
823 B
Groovy
// please leave this here, so this library builds on its own
|
|
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:1.0.0'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.android.library'
|
|
|
|
android {
|
|
compileSdkVersion 21
|
|
buildToolsVersion '21.1.2'
|
|
|
|
// 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
|
|
}
|
|
}
|