2013-05-25 17:14:46 -04:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2014-03-08 18:00:58 -05:00
|
|
|
classpath 'com.android.tools.build:gradle:0.9.+'
|
2013-05-25 17:14:46 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
apply plugin: 'android'
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
compile project(':plugins:ActionBarSherlock:library')
|
|
|
|
compile project(':plugins:Android-PullToRefresh:library')
|
|
|
|
compile project(':plugins:ckChangeLog:library')
|
|
|
|
compile project(':plugins:HoloColorPicker')
|
2014-03-26 18:05:45 -04:00
|
|
|
compile project(':plugins:openpgp-api-library')
|
2013-05-25 17:14:46 -04:00
|
|
|
compile fileTree(dir: 'libs', include: '*.jar')
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2014-01-26 11:01:07 -05:00
|
|
|
compileSdkVersion 19
|
2014-03-08 18:00:58 -05:00
|
|
|
buildToolsVersion '19.0.3'
|
2013-05-25 17:14:46 -04:00
|
|
|
|
|
|
|
sourceSets {
|
|
|
|
main {
|
|
|
|
manifest.srcFile 'AndroidManifest.xml'
|
|
|
|
java.srcDirs = ['src']
|
|
|
|
res.srcDirs = ['res']
|
2013-11-29 04:49:52 -05:00
|
|
|
assets.srcDirs = ['assets']
|
2013-05-25 17:14:46 -04:00
|
|
|
}
|
2013-05-25 19:46:55 -04:00
|
|
|
|
2014-04-06 03:36:43 -04:00
|
|
|
androidTest {
|
2013-05-25 19:46:55 -04:00
|
|
|
manifest.srcFile 'tests/AndroidManifest.xml'
|
|
|
|
java.srcDirs = ['tests/src']
|
2013-11-29 04:49:52 -05:00
|
|
|
assets.srcDirs = ['tests/assets']
|
2013-05-25 19:46:55 -04:00
|
|
|
}
|
2013-05-25 17:14:46 -04:00
|
|
|
}
|
2014-03-04 16:11:42 -05:00
|
|
|
|
2014-01-03 19:40:56 -05:00
|
|
|
|
2014-02-21 11:38:20 -05:00
|
|
|
// Do not abort build if lint finds errors
|
|
|
|
lintOptions {
|
|
|
|
abortOnError false
|
|
|
|
}
|
2014-01-03 19:40:56 -05:00
|
|
|
|
|
|
|
packagingOptions {
|
|
|
|
exclude 'META-INF/DEPENDENCIES'
|
|
|
|
exclude 'META-INF/LICENSE'
|
|
|
|
exclude 'META-INF/NOTICE'
|
|
|
|
}
|
2013-05-25 17:14:46 -04:00
|
|
|
}
|
2014-04-29 08:48:51 -04:00
|
|
|
|
|
|
|
task testsOnJVM(type :GradleBuild, dependsOn: assemble) {
|
|
|
|
buildFile = 'tests-on-jvm/build.gradle'
|
|
|
|
tasks = ['test']
|
|
|
|
}
|