mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-04 16:25:05 -05:00
48 lines
1.2 KiB
Groovy
48 lines
1.2 KiB
Groovy
buildscript {
|
|
repositories {
|
|
jcenter()
|
|
}
|
|
|
|
dependencies {
|
|
// NOTE: Always use fixed version codes not dynamic ones, e.g. 0.7.3 instead of 0.7.+, see README for more information
|
|
classpath 'com.android.tools.build:gradle:1.0.0'
|
|
classpath files('gradle-witness.jar')
|
|
}
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
jcenter()
|
|
|
|
maven {
|
|
// for https://github.com/journeyapps/zxing-android-embedded
|
|
url "http://dl.bintray.com/journeyapps/maven"
|
|
}
|
|
}
|
|
}
|
|
|
|
task wrapper(type: Wrapper) {
|
|
gradleVersion = '2.2.1'
|
|
}
|
|
|
|
subprojects {
|
|
tasks.withType(Test) {
|
|
maxParallelForks = 1
|
|
}
|
|
}
|
|
|
|
// 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
|
|
}
|
|
}
|
|
|
|
// 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 {
|
|
compileSdkVersion = 21
|
|
buildToolsVersion = '21.1.2'
|
|
} |