-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle
More file actions
83 lines (71 loc) · 2.94 KB
/
Copy pathbuild.gradle
File metadata and controls
83 lines (71 loc) · 2.94 KB
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
// App version and version code
app_version_name = '0.3.0'
app_version_code = 30
compile_sdk_version = 28
target_sdk_version = 28
versions = [
'kotlin_plugin' : '1.4.10',
'kotlin_env' : 'jdk8',
// Kotlin coroutines
// https://github.com/Kotlin/kotlinx.coroutines
// https://mvnrepository.com/artifact/org.jetbrains.kotlinx/kotlinx-coroutines-android
'kotlin_coroutines' : '1.3.7',
// AndroidX appcompat
// https://mvnrepository.com/artifact/androidx.appcompat/appcompat
'androidx_appcompat' : '1.0.2',
// Android Material
// https://mvnrepository.com/artifact/com.google.android.material/material
'android_material' : '1.1.0',
// AndroidX Kotlin
// https://mvnrepository.com/artifact/androidx.core/core-ktx
'androidx_ktx' : '1.3.0',
/*
* https://developer.android.com/training/constraint-layout/index.html
* https://dl.google.com/dl/android/maven2/com/android/support/constraint/group-index.xml
*/
'constranint_layout' : '1.1.3',
// Android Architecture Components
// https://developer.android.com/topic/libraries/architecture/adding-components.html
'lifecycle' : '1.1.1',
// Picasso
// http://square.github.io/picasso/
'picasso' : '2.71828',
// Retrofit 2
// http://square.github.io/retrofit/
'retrofit' : '2.9.0',
// OkHttp interceptor
// https://github.com/square/okhttp
'ok_http_interceptor': '4.7.2',
// Dagger 2
// https://github.com/google/dagger
// See version at,
// https://mvnrepository.com/artifact/com.google.dagger/dagger
// https://mvnrepository.com/artifact/com.google.dagger/dagger-compiler
'dagger_2' : '2.28',
// https://github.com/sheungon/AndroidEasyLog
'android_ec_log' : '1.0.0',
]
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlin_plugin"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}