-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
124 lines (114 loc) · 4.14 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
buildscript {
ext {
agp_gradle = '7.0.4'
android_gradle_plugin_version = agp_gradle
kotlin_version = "1.7.20"
// coroutine
coroutine_version = "1.6.0"
kotlin_coroutines_version = coroutine_version
kotlin_ktor_version = "1.6.2"//2.1.2
ktx_extensions_version = '2.2.0'
//AndroidX
appcompat = "1.4.0"//1.4.0
appcompat_version = appcompat
material = "1.6.0"//1.4.0 //1.7.0 get Can't determine type for tag '<macro name="m3_comp_bottom_app_bar_container_color">?attr/colorSurface</macro> https://stackoverflow.com/questions/74191324/cant-determine-type-for-tag-macro-name-m3-comp-bottom-app-bar-container-colo
material_version = material
cardview_version = "1.0.0"
constraintLayout = "2.1.4"
constraintlayout_version = constraintLayout
navigation_version = "2.5.2" // 2.3.5 <-->androidx.navigation.safeargs 2.4.1<--> androidx.navigation.safeargs.kotlin
ktx_version = "1.7.0"
jetpack_windowmanager_version = '1.0.0'
jetpack_camera_version = '1.1.0'
camerax_version = jetpack_camera_version
// activiy ktx
activity_ktx_version = "1.4.0"
fragment_version = "1.4.1"//1.3.6 1.4.0 1.4.1
fragment_ktx_version = fragment_version
lifecycle_version = "2.4.0"
//AndroidX New UI compose
compose_version = '1.1.1'
//Google Service
google_services_plugin_version = "4.3.14"
google_services_version = "18.1.0"
//DI
// dagger hilt
dagger_hilt_version = "2.44"
dagger_hilt_viewmodel_version = "1.0.0-alpha03"
// koin
koin_version = "2.2.2"
gson_version = "2.9.1"
// http
retrofit_version = "2.9.0"
okhttp_version = '4.10.0'
okhttp_interceptor_version = okhttp_version
okhttp_logging_version = "4.9.0"
// timber
timber_version = '5.0.1'
// utilcode & utilcodex
utilcode_version = '1.30.7'
utilcodex_version = '1.31.0'
////airbnb
//epoxy
epoxy_version = '4.6.4'
////mavericks
mavericks_version = '2.7.0'
////Square
//sqldelight
sqldelight_version = '1.5.0'
//lombok
lombok_version = '6.5.1'
compileSdkVersion = 31
compileSdk = compileSdkVersion
targetSdkVersion = compileSdk
targetSdk = targetSdkVersion
minSdkVersion = 21
minSdk = minSdkVersion
}
repositories {
gradlePluginPortal()
mavenCentral()
google()
maven {
url "https://plugins.gradle.org/m2/"
}
maven {
url = uri('https://maven.pkg.jetbrains.space/public/p/compose/dev')
}
maven{
url "https://raw.githubusercontent.com/cybernhl/maven-repository/master/"
}
}
dependencies {
classpath "com.android.tools.build:gradle:$agp_gradle"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
classpath "com.google.dagger:hilt-android-gradle-plugin:$dagger_hilt_version"
//navigation Pass data between destinations
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$navigation_version"
classpath "com.google.gms:google-services:$google_services_plugin_version"
classpath "com.squareup.sqldelight:gradle-plugin:$sqldelight_version"
classpath "com.github.qq549631030:android-junk-code:1.0.7"
classpath 'com.yanzhenjie.andserver:plugin:2.1.10'
classpath "io.freefair.gradle:lombok-plugin:$lombok_version"
}
}
allprojects {
repositories {
gradlePluginPortal()
maven{
url "https://raw.githubusercontent.com/cybernhl/maven-repository/master/"
}
mavenCentral()
google()
maven {
url "https://plugins.gradle.org/m2/"
}
maven {
url = uri('https://maven.pkg.jetbrains.space/public/p/compose/dev')
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}