forked from thunderbird/thunderbird-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
73 lines (63 loc) · 2.15 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
buildscript {
ext {
buildConfig = [
'compileSdk': 28,
'minSdk': 19,
'buildTools': '28.0.3'
]
versions = [
'kotlin': '1.3.20',
'androidxAppCompat': '1.0.2',
'androidxRecyclerView': '1.0.0',
'androidxLifecycleExtensions': '2.0.0',
'androidxAnnotation': '1.0.1',
'androidxNavigation': '2.0.0',
'androidxConstraintLayout': '1.1.3',
'coreKtx': '1.0.1',
'preferencesFix': '1.0.0',
'okio': '1.14.0',
'timber': '4.5.1',
'koin': '0.9.1',
'commonsIo': '2.4',
'mime4j': '0.8.1',
// Note: Only use 3.12.x versions until we raise minSdkVersion to 21
'okhttp': '3.12.1',
'androidxTestRunner': '1.1.1',
'junit': '4.12',
'robolectric': '3.7.1',
'mockito': '2.18.0',
'mockitoKotlin': '1.5.0',
'truth': '0.35'
]
}
repositories {
mavenCentral()
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.3.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}"
classpath "org.jetbrains.kotlin:kotlin-android-extensions:${versions.kotlin}"
}
}
project.ext {
testCoverage = project.hasProperty('testCoverage')
}
subprojects {
repositories {
mavenCentral()
google()
maven { url 'https://jitpack.io' }
jcenter()
}
configurations.all {
resolutionStrategy {
force "androidx.annotation:annotation:${versions.androidxAnnotation}"
// org.koin:koin-android-architecture depends on android.arch.lifecycle:extensions
force "androidx.lifecycle:lifecycle-extensions:${versions.androidxLifecycleExtensions}"
// com.github.amlcurran.showcaseview:library depends on com.android.support:support-v4
force "androidx.legacy:legacy-support-v4:1.0.0"
}
}
}