mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 13:12:25 -05:00
53 lines
1.1 KiB
Groovy
53 lines
1.1 KiB
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
classpath 'com.android.tools.build:gradle:0.9.+'
|
|
}
|
|
}
|
|
|
|
apply plugin: 'android'
|
|
|
|
dependencies {
|
|
compile project(':plugins:ActionBarSherlock:library')
|
|
compile project(':plugins:Android-PullToRefresh:library')
|
|
compile project(':plugins:ckChangeLog:library')
|
|
compile project(':plugins:HoloColorPicker')
|
|
compile project(':plugins:openpgp-api-library')
|
|
compile fileTree(dir: 'libs', include: '*.jar')
|
|
}
|
|
|
|
android {
|
|
compileSdkVersion 19
|
|
buildToolsVersion '19.0.3'
|
|
|
|
sourceSets {
|
|
main {
|
|
manifest.srcFile 'AndroidManifest.xml'
|
|
java.srcDirs = ['src']
|
|
res.srcDirs = ['res']
|
|
assets.srcDirs = ['assets']
|
|
}
|
|
|
|
androidTest {
|
|
manifest.srcFile 'tests/AndroidManifest.xml'
|
|
java.srcDirs = ['tests/src']
|
|
assets.srcDirs = ['tests/assets']
|
|
}
|
|
}
|
|
|
|
|
|
// Do not abort build if lint finds errors
|
|
lintOptions {
|
|
abortOnError false
|
|
}
|
|
|
|
packagingOptions {
|
|
exclude 'META-INF/DEPENDENCIES'
|
|
exclude 'META-INF/LICENSE'
|
|
exclude 'META-INF/NOTICE'
|
|
}
|
|
}
|