1
1
plugins {
2
2
id ' com.android.application'
3
- id ' kotlin-kapt'
4
- id ' com.google.android.libraries.mapsplatform.secrets-gradle-plugin'
5
3
id ' org.jetbrains.kotlin.android'
4
+ id ' kotlin-kapt'
6
5
id ' kotlin-android'
7
6
id ' com.google.dagger.hilt.android'
8
7
id " com.google.protobuf" version " 0.8.17"
@@ -18,7 +17,7 @@ android {
18
17
minSdkVersion 24
19
18
targetSdkVersion 31
20
19
versionCode 2
21
- versionName " 1.0.2 "
20
+ versionName " 1.0.3 "
22
21
testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
23
22
javaCompileOptions {
24
23
annotationProcessorOptions {
@@ -62,69 +61,58 @@ dependencies {
62
61
63
62
// implementation fileTree(dir: 'libs', include: ['*.jar'])
64
63
65
- implementation ' androidx.navigation:navigation-fragment-ktx:2.5.3'
66
- implementation ' androidx.navigation:navigation-ui-ktx:2.5.3'
67
- implementation ' androidx.core:core-ktx:1.9.0'
64
+ // Kotlin
65
+ implementation ' androidx.core:core-ktx:1.10.0'
68
66
implementation " org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version "
69
67
implementation " org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.0"
70
68
71
- def appCenterSdkVersion = ' 4.1.0'
72
- coreLibraryDesugaring ' com.android.tools:desugar_jdk_libs:1.2.2'
73
-
69
+ // Worker
74
70
implementation ' androidx.work:work-runtime-ktx:2.8.1'
75
71
implementation " androidx.hilt:hilt-work:1.0.0"
76
72
kapt " androidx.hilt:hilt-compiler:1.0.0"
77
73
78
- implementation ' androidx.appcompat:appcompat:1.3.0'
79
- implementation ' com.google.android.material:material:1.3.0'
80
- implementation ' androidx.constraintlayout:constraintlayout:2.0.1'
81
- implementation ' androidx.navigation:navigation-fragment:2.3.0'
82
- implementation ' androidx.navigation:navigation-ui:2.3.0'
83
- implementation ' androidx.preference:preference:1.1.0'
74
+ // Location Service
84
75
implementation ' com.google.android.gms:play-services-location:21.0.1'
85
- implementation ' com.google.android.gms:play-services-maps:18.1.0'
86
76
77
+ // DB
87
78
implementation " androidx.room:room-runtime:$room_version "
88
79
kapt " androidx.room:room-compiler:$room_version "
89
80
implementation " androidx.room:room-ktx:$room_version "
90
81
82
+ // UI
83
+ implementation ' androidx.navigation:navigation-fragment-ktx:2.5.3'
84
+ implementation ' androidx.navigation:navigation-ui-ktx:2.5.3'
85
+ def appCenterSdkVersion = ' 4.1.0'
86
+ coreLibraryDesugaring ' com.android.tools:desugar_jdk_libs:1.2.2'
91
87
def composeBom = platform(' androidx.compose:compose-bom:2022.10.00' )
92
88
implementation composeBom
93
89
androidTestImplementation composeBom
94
- // implementation 'androidx.compose.material:material'
95
- // implementation("androidx.compose.runtime:runtime:$compose_version")
96
90
implementation " androidx.compose.material3:material3:1.0.1"
97
91
implementation " androidx.compose.material3:material3-window-size-class:1.0.1"
98
-
99
92
implementation " androidx.lifecycle:lifecycle-runtime-compose:2.6.1"
100
-
101
- // start up runtime
102
- implementation " androidx.startup:startup-runtime:1.1.1"
103
-
104
-
105
- // datastore with protobuf preferences
106
- implementation " androidx.datastore:datastore-preferences:1.0.0"
107
- implementation " androidx.datastore:datastore:1.0.0"
108
- implementation " com.google.protobuf:protobuf-javalite:3.18.0"
109
-
110
93
debugImplementation " androidx.compose.ui:ui-tooling-preview:1.3.2"
111
94
implementation " androidx.compose.ui:ui-tooling:1.3.2"
112
95
implementation " androidx.compose.material:material-icons-extended:1.3.1"
113
96
implementation " androidx.navigation:navigation-compose:2.5.3"
114
97
98
+ // datastore with protobuf preferences
99
+ implementation " androidx.datastore:datastore-preferences:1.0.0"
100
+ implementation " androidx.datastore:datastore:1.0.0"
101
+ implementation " com.google.protobuf:protobuf-javalite:3.21.12"
102
+
115
103
// hilt dependency injection
116
104
implementation ' com.google.dagger:hilt-android:2.44.2'
117
105
implementation ' androidx.hilt:hilt-navigation-compose:1.0.0'
118
106
kapt ' com.google.dagger:hilt-compiler:2.44.2'
119
107
108
+ // start up runtime
109
+ implementation " androidx.startup:startup-runtime:1.1.1"
120
110
121
111
// third-party lib
122
112
implementation ' com.squareup.retrofit2:retrofit:2.9.0'
123
113
implementation ' com.squareup.retrofit2:converter-scalars:2.9.0'
124
-
125
114
implementation " com.squareup.okhttp3:okhttp:$okhttp_version "
126
115
implementation ' com.github.kongzue.DialogX:DialogX:0.0.43.beta13'
127
-
128
116
implementation ' com.github.getActivity:XXPermissions:16.6'
129
117
implementation " io.github.g00fy2.quickie:quickie-bundled:1.6.0"
130
118
implementation ' org.bouncycastle:bcpkix-jdk15to18:1.70'
@@ -135,12 +123,8 @@ dependencies {
135
123
implementation " com.microsoft.appcenter:appcenter-analytics:${ appCenterSdkVersion} "
136
124
implementation " com.microsoft.appcenter:appcenter-crashes:${ appCenterSdkVersion} "
137
125
126
+ // Testing
138
127
testImplementation ' junit:junit:4.+'
139
- // androidTestImplementation 'androidx.test.ext:junit:1.1.5'
140
- // androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
141
- implementation " androidx.room:room-runtime:2.3.0"
142
- annotationProcessor " androidx.room:room-compiler:2.3.0"
143
- androidTestImplementation " androidx.room:room-testing:2.3.0"
144
128
}
145
129
146
130
protobuf {
@@ -165,12 +149,3 @@ protobuf {
165
149
kapt {
166
150
correctErrorTypes true
167
151
}
168
-
169
-
170
- secrets {
171
- // To add your Maps API key to this project:
172
- // 1. Open the root project's local.properties file
173
- // 2. Add this line, where YOUR_API_KEY is your API key:
174
- // MAPS_API_KEY=YOUR_API_KEY
175
- defaultPropertiesFileName ' gradle.properties'
176
- }
0 commit comments