This repository has been archived by the owner on May 14, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathbuild.gradle
73 lines (65 loc) · 1.88 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
ext {
projectName = ':kin-sdk-android'
}
buildscript {
ext {
android_minsdk_version = 16
android_compilesdk_version = 28
android_targetsdk_version = 26
// Plugins
androidgradle_version = '3.4.2'
jaccoco_version = '0.8.5'
// 3rd Party
kotlin_version = '1.3.41'
okhttp_version = '3.12.6'
toml4j_version = '0.5.1'
gson_version = '2.8.2'
eddsa_version = '0.3.0'
androidsupport_version = '28.0.0'
constraintlayout_version = '1.1.3'
sodium_version = '2.0.1'
zxing_version = '3.3.3'
// Kin
oksse_version = '4121e87e8c'
kinutilsandroid_version = '1.1'
// Test
mockito_version = '2.10.0'
mockitokotlin_version = '2.1.0'
junit_version = '4.12'
hamcrest_version = '1.3'
robolectric_version = '4.3'
supporttest_version = '1.0.2'
multidex_version = '1.0.2'
espresso_version = '3.0.2'
uiautomator_version = '2.1.3'
}
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:$androidgradle_version"
classpath "org.jacoco:org.jacoco.core:$jaccoco_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath("com.github.dcendents:android-maven-gradle-plugin:2.1")
}
}
allprojects {
repositories {
google()
jcenter()
maven { url 'https://oss.sonatype.org/content/repositories/releases/' }
maven { url 'https://jitpack.io' }
}
//print each test status to log
tasks.withType(Test) {
testLogging {
exceptionFormat "full"
events "started", "skipped", "passed", "failed"
showStandardStreams true
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}