-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
107 lines (95 loc) · 4.91 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
//Android
androidBuildToolsVersion = "28.0.3"
androidMinSdkVersion = 21
androidTargetSdkVersion = 28
androidCompileSdkVersion = 28
//Libraries
kotlinVersion = '1.3.40'
rxKotlinVersion = '2.3.0'
rxAndroidVersion = '2.1.0'
javaxInjectVersion = '1'
okHttpVersion = '3.8.1'
androidAnnotationsVersion = '21.0.3'
retrofitVersion = '2.5.0'
appCompatVersion = '1.0.2'
constrainLayoutVersion = '1.1.3'
timberVersion = '4.5.1'
glideVersion = '4.0.0'
daggerVersion = '2.21'
moshiVersion = '2.5.0'
moshiKotlinVersion = '1.8.0'
okioVersion = '2.1.0'
materialVersion = '1.0.0'
lifeCycleExtensionsVersion = '2.0.0'
dataBindingVersion = '3.4.0'
navigationVersion = '2.0.0'
//Testing
jUnitVersion = '4.12'
espressoVersion = '3.1.1'
espressoIdlingResourceVersion = '3.1.1'
orchestratorVersion = '1.0.1'
coreTestingVersion = '2.0.0'
androidXJunitVersion = '1.1.0'
androidXRunnerVersion = '1.1.1'
Dependencies = [
glide : "com.github.bumptech.glide:glide:${glideVersion}",
appCompat : "androidx.appcompat:appcompat:${appCompatVersion}",
lifeCycleExtensions: "androidx.lifecycle:lifecycle-extensions:${lifeCycleExtensionsVersion}",
material : "com.google.android.material:material:${materialVersion}",
constraintLayout : "androidx.constraintlayout:constraintlayout:${constrainLayoutVersion}",
timber : "com.jakewharton.timber:timber:${timberVersion}",
daggerCompiler : "com.google.dagger:dagger-compiler:${daggerVersion}",
dagger : "com.google.dagger:dagger:${daggerVersion}",
daggerSupport : "com.google.dagger:dagger-android-support:${daggerVersion}",
daggerAndroid : "com.google.dagger:dagger-android:${daggerVersion}",
daggerProcessor : "com.google.dagger:dagger-android-processor:${daggerVersion}",
rxKotlin : "io.reactivex.rxjava2:rxkotlin:${rxKotlinVersion}",
kotlin : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${kotlinVersion}",
rxAndroid : "io.reactivex.rxjava2:rxandroid:${rxAndroidVersion}",
javaxInject : "javax.inject:javax.inject:${javaxInjectVersion}",
retrofit : "com.squareup.retrofit2:retrofit:${retrofitVersion}",
retrofitConverter : "com.squareup.retrofit2:converter-gson:${retrofitVersion}",
retrofitAdapter : "com.squareup.retrofit2:adapter-rxjava2:${retrofitVersion}",
moshi : "com.squareup.retrofit2:converter-moshi:${moshiVersion}",
moshiKotlin : "com.squareup.moshi:moshi-kotlin:${moshiKotlinVersion}",
okio : "com.squareup.okio:okio:${okioVersion}",
dataBinding : "androidx.databinding:databinding-compiler-common:${dataBindingVersion}",
navigationFragment : "androidx.navigation:navigation-fragment-ktx:${navigationVersion}",
navigationUI : "androidx.navigation:navigation-ui-ktx:${navigationVersion}"
]
TestDependencies = [
junit : "junit:junit:${jUnitVersion}",
kotlinJUnit : "org.jetbrains.kotlin:kotlin-test-junit:${kotlinVersion}",
kotlinReflect : "org.jetbrains.kotlin:kotlin-reflect:${kotlinVersion}",
coreTesting : "androidx.arch.core:core-testing:${coreTestingVersion}",
androidXJunit : "androidx.test.ext:junit:${androidXJunitVersion}",
androidXRunner : "androidx.test:runner:${androidXRunnerVersion}",
espresso : "androidx.test.espresso:espresso-core:${espressoVersion}",
espressoIdlingResource: "androidx.test.espresso:espresso-idling-resource:${espressoIdlingResourceVersion}",
orchestrator : "com.android.support.test:orchestrator:${orchestratorVersion}"
]
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.4.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
maven { url 'https://jitpack.io' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}