forked from d4rken-org/capod
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (48 loc) · 1.67 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.buildConfig = [
'compileSdk': 31,
'minSdk' : 26,
'targetSdk' : 31,
'version' : [
'major': 1,
'minor': 3,
'patch': 14,
'build': 0,
],
]
ext.buildConfig.version['name'] = "${buildConfig.version.major}.${buildConfig.version.minor}.${buildConfig.version.patch}-rc${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.6.10',
'coroutines': '1.5.1'
],
'dagger' : [
'core': '2.40.5'
],
'androidx' : [
'navigation': '2.3.5'
],
]
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.4'
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}"
classpath 'com.bugsnag:bugsnag-android-gradle-plugin:7.0.0'
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}