This repository has been archived by the owner on Jun 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
96 lines (85 loc) · 2.7 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
buildscript {
ext.compile_sdk_version = 33
ext.build_tools_version = "33.0.0"
ext.min_sdk_version = 23
ext.target_sdk_version = 33
ext.kotlin_version = '1.6.20'
ext.corountines = "1.6.1"
ext.fragment = "1.4.1"
ext.koin = "3.0.2" // has to be updated in LightBase first
ext.lifecycle = "2.4.1"
ext.moshi = '1.13.0'
ext.navigation = "2.5.1"
ext.okhttp = "4.9.1"
ext.retrofit = "2.9.0"
ext.security_crypto = "1.1.0-alpha03"
ext.timber = "5.0.1"
ext.material = '1.6.0'
ext.detekt_version = "1.21.0"
ext.firebase_bom = "29.2.1"
ext.flexbox_version = '3.0.0'
ext.mp_android_chart_version = 'v3.1.0'
ext.camera = "1.1.0-alpha07"
ext.markwon = "4.6.0"
ext.swipe_refresh = "1.1.0"
ext.desugar = '1.1.5'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.3.0'
classpath "com.google.gms:google-services:4.3.14"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigation"
classpath 'com.google.firebase:firebase-appdistribution-gradle:3.0.3'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.2'
classpath "com.google.firebase:perf-plugin:1.4.1"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "io.insert-koin:koin-gradle-plugin:$koin"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
plugins {
id "io.gitlab.arturbosch.detekt" version "$detekt_version"
}
dependencies {
detektPlugins "io.gitlab.arturbosch.detekt:detekt-formatting:$detekt_version"
}
detekt {
toolVersion = "$detekt_version"
autoCorrect = true
config = files("config/detekt/detekt.yml")
parallel = true
source = files(
"app/src/main/java",
"cache/src/main/java",
"core/src/main/java",
"network/src/main/java",
"onboarding/src/main/java",
"pin/src/main/java",
"resources/src/main/java"
)
}
allprojects {
repositories {
google()
mavenCentral()
maven {
url "https://gitlab.cleevio.cz/api/v4/projects/466/packages/maven"
name "GitLab"
credentials(HttpHeaderCredentials) {
name = 'Private-Token'
value = authToken
}
authentication {
header(HttpHeaderAuthentication)
}
}
maven { url 'https://jitpack.io' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
apply from: file('gradle/projectDependencyGraph.gradle')