This repository has been archived by the owner on Aug 19, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
build.gradle
55 lines (49 loc) · 1.71 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.buildConfig = [
'compileSdk': 30,
'minSdk' : 21,
'targetSdk' : 30,
'version' : [
'major': 0,
'minor': 3,
'patch': 1,
'build': 0,
],
]
ext.buildConfig.version['name'] = "${buildConfig.version.major}.${buildConfig.version.minor}.${buildConfig.version.patch}"
ext.buildConfig.version['fullName'] = "${buildConfig.version.name}.${buildConfig.version.build}"
ext.buildConfig.version['code'] = buildConfig.version.major * 1000000 + buildConfig.version.minor * 10000 + buildConfig.version.patch * 100 + buildConfig.version.build
ext.versions = [
'kotlin' : [
'core' : '1.5.0',
'coroutines': '1.5.0-RC-native-mt'
],
'dagger' : [
'core': '2.38.1'
],
'androidx' : [
'navigation': '2.3.5'
],
'timber' : '4.7.1',
]
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin.core}"
classpath "com.google.dagger:hilt-android-gradle-plugin:${versions.dagger.core}"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:${versions.androidx.navigation}"
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}