forked from MrBean355/youtube-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
55 lines (48 loc) · 1.45 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
buildscript {
/** Various versions to be used throughout all modules. */
ext {
// Android
activity_version = '1.2.3'
appcompat_version = '1.3.0'
core_version = '1.5.0'
fragment_version = '1.3.4'
lifecycle_version = '2.3.1'
material_version = '1.3.0'
navigation_version = '2.3.5'
recyclerview_version = '1.2.1'
room_version = '2.3.0'
// Third-party
dagger_version = '2.36'
enhanced_adapter_version = '1.1.0'
kotlin_version = '1.5.10'
coroutines_version = '1.5.0'
retrofit_version = '2.9.0'
// SDKs
compile_sdk = 30
min_sdk = 21
target_sdk = 30
}
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
/* BEGIN: section for Navigation component */
// AndroidX:
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigation_version"
// Pre-AndroidX:
// classpath "android.arch.navigation:navigation-safe-args-gradle-plugin:$latest_version"
/* END: section for Navigation component */
}
}
allprojects {
repositories {
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}