-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
68 lines (64 loc) · 2.14 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext{
kotlinVersion = "1.5.0"
legacyVersion = "1.0.0"
coreKtxVersion = "1.3.2"
appcompatVersion = "1.2.0"
materialVersion = "1.3.0"
constraintLayoutVersion = "2.0.4"
lifecycleKtxVersion = "2.3.1"
glideVersion = "4.12.0"
navigationKtxVersion = "2.3.5"
swipeRefreshVersion = "1.1.0"
androidXJunitVersion = "1.1.2"
espressoVersion = "3.3.0"
mockitoVersion = "3.6.0"
coreTestingVersion = "2.1.0"
testRulesVersion = "1.3.0"
retrofitVersion = "2.9.0"
converterMoshiVersion = "2.7.1"
loggingInterceptorVersion = "4.7.2"
retrofit2kotlinadapterVersion = "0.9.2"
coroutinesVersion = "1.4.3"
koinVersion = "2.2.2"
multidexVersion = "2.0.1"
roomVersion = "2.3.0"
pagingVersion = '3.0.0'
easypermissinsVersion = "3.0.0"
storageVersion = "0.5.3"
localBroadcastManagerVersion = "1.0.0"
gmsPlayServiceLocationVersion = "18.0.0"
}
repositories {
google()
jcenter()
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:4.2.0"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigationKtxVersion"
classpath "org.koin:koin-gradle-plugin:$koinVersion"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
mavenCentral()
jcenter() // Warning: this repository is going to shut down soon
}
//Support @JvmDefault
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
freeCompilerArgs = ['-Xjvm-default=all', '-Xopt-in=kotlin.RequiresOptIn']
includeRuntime = true
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
apply plugin: 'koin'