2013-09-09 15:11:16 -04:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
2014-12-04 14:02:06 -05:00
|
|
|
jcenter()
|
2013-09-09 15:11:16 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2014-06-04 04:22:05 -04:00
|
|
|
// NOTE: Always use fixed version codes not dynamic ones, e.g. 0.7.3 instead of 0.7.+, see README for more information
|
2015-03-26 17:56:28 -04:00
|
|
|
classpath 'com.android.tools.build:gradle:1.1.3'
|
2015-03-02 11:23:06 -05:00
|
|
|
classpath files('gradle-witness.jar')
|
2013-09-09 15:11:16 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
allprojects {
|
|
|
|
repositories {
|
2014-12-04 14:02:06 -05:00
|
|
|
jcenter()
|
2015-01-14 13:14:30 -05:00
|
|
|
|
|
|
|
maven {
|
2015-03-23 15:17:30 -04:00
|
|
|
// for zxing-android-embedded lib
|
2015-01-14 13:14:30 -05:00
|
|
|
url "http://dl.bintray.com/journeyapps/maven"
|
|
|
|
}
|
2013-09-09 15:11:16 -04:00
|
|
|
}
|
|
|
|
}
|
2013-05-25 17:13:39 -04:00
|
|
|
|
|
|
|
task wrapper(type: Wrapper) {
|
2015-03-23 15:17:30 -04:00
|
|
|
gradleVersion = '2.3'
|
2014-03-06 11:32:00 -05:00
|
|
|
}
|
2014-07-11 13:19:49 -04:00
|
|
|
|
2014-12-29 07:32:28 -05:00
|
|
|
subprojects {
|
|
|
|
tasks.withType(Test) {
|
2014-12-30 05:59:57 -05:00
|
|
|
maxParallelForks = 1
|
2014-12-29 07:32:28 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2014-07-27 10:40:22 -04:00
|
|
|
// Ignore tests for external dependency
|
|
|
|
project(':extern:spongycastle') {
|
|
|
|
subprojects {
|
|
|
|
// Need to re-apply the plugin here otherwise the test property below can't be set.
|
|
|
|
apply plugin: 'java'
|
|
|
|
test.enabled = false
|
|
|
|
}
|
|
|
|
}
|
2015-03-02 10:21:51 -05:00
|
|
|
|
|
|
|
// SDK Version and Build Tools used by all subprojects
|
|
|
|
// See http://tools.android.com/tech-docs/new-build-system/tips#TOC-Controlling-Android-properties-of-all-your-modules-from-the-main-project.
|
|
|
|
ext {
|
2015-03-23 15:17:30 -04:00
|
|
|
compileSdkVersion = 22
|
|
|
|
buildToolsVersion = '22.0.1'
|
2015-03-02 10:21:51 -05:00
|
|
|
}
|