@@ -2,49 +2,25 @@ apply plugin: 'com.android.application'
22apply plugin : ' kotlin-android'
33apply plugin : ' com.google.devtools.ksp'
44
5- // Begin of reading the sensitive data
65def noKeyFound = ' "NO_KEY_FOUND"'
76def googleMapsAPIKey = noKeyFound
87def thisAppLicensingKey = noKeyFound
98
10- /**
11- * Can be used for any API Key
12- *
13- * If you have a Google Maps API Key, you can create sensitive_data.txt file
14- * in project's root directory containing your API keys and this code will
15- * handle the changes.
16- *
17- * The format should look like this in sensitive_data.txt without any quotes
18- *
19- * googleMapsAPIKey YourKey
20- */
21- def sensitiveDataFile = file(' ../sensitive_data.txt' )
22- Properties sensitiveData = new Properties ()
23-
24- if (sensitiveDataFile. canRead()) {
25- // Read the sensitive data from file sensitive_data.txt
26- sensitiveData. load(new FileInputStream (sensitiveDataFile))
27-
28- if (sensitiveData != null ) {
29- if (sensitiveData. containsKey(' googleMapsAPIKey' )) {
30- googleMapsAPIKey = sensitiveData[' googleMapsAPIKey' ]
31- }
32-
33- if (sensitiveData. containsKey(' thisAppLicensingKey' )) {
34- thisAppLicensingKey = sensitiveData[' thisAppLicensingKey' ]
35- }
9+ def localProperties = new Properties ()
10+ def localPropertiesFile = rootProject. file(' local.properties' )
11+ if (localPropertiesFile. exists()) {
12+ localProperties. load(new FileInputStream (localPropertiesFile))
13+ if (localProperties[' googleMapsAPIKey' ]) {
14+ googleMapsAPIKey = localProperties[' googleMapsAPIKey' ]
15+ }
16+ if (localProperties[' thisAppLicensingKey' ]) {
17+ thisAppLicensingKey = localProperties[' thisAppLicensingKey' ]
3618 }
3719}
3820
39- /**
40- * In this section a reviewer can insert directly his own
41- * sensitive data by replacing the string "YOUR_API_KEY_GOES_HERE"
42- * Just double click on the string and paste you own data
43- */
4421if (googleMapsAPIKey == noKeyFound) {
4522 googleMapsAPIKey = ' "YOUR_API_KEY_GOES_HERE"'
4623}
47- // End of reading the sensitive data
4824
4925android {
5026
@@ -55,8 +31,8 @@ android {
5531 minSdkVersion 24
5632 // noinspection OldTargetApi
5733 targetSdkVersion 35
58- versionCode 181030
59- versionName " v181.0.30 "
34+ versionCode 20250706
35+ versionName " v2025.07.06 "
6036 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
6137 vectorDrawables. useSupportLibrary = true
6238
@@ -74,19 +50,6 @@ android {
7450 }
7551 }
7652
77- flavorDimensions. add(" version" )
78- productFlavors {
79- lite {
80- dimension " version"
81- applicationIdSuffix " .lite"
82- versionNameSuffix " /lite"
83- }
84-
85- full {
86- dimension " version"
87- }
88- }
89-
9053 buildTypes {
9154 release {
9255 minifyEnabled true
@@ -144,19 +107,19 @@ dependencies {
144107 implementation ' androidx.lifecycle:lifecycle-runtime-ktx:2.9.1'
145108
146109 // Kotlin
147- implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.1 '
110+ implementation ' org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2 '
148111
149112 // Google Services and Default android libs
150113 implementation ' com.google.android.gms:play-services-location:21.3.0'
151114 implementation ' com.google.android.gms:play-services-maps:19.2.0'
152115 implementation ' com.google.android.material:material:1.12.0'
153- implementation ' com.google.maps.android:android-maps-utils:2.2.4 '
116+ implementation ' com.google.maps.android:android-maps-utils:3.14.0 '
154117 implementation ' com.google.android.play:app-update-ktx:2.1.0'
155118
156119 // Third Party
157- implementation ' org.shredzone.commons:commons-suncalc:3.9 '
120+ implementation ' org.shredzone.commons:commons-suncalc:3.11 '
158121 implementation ' com.github.Berico-Technologies:Geo-Coordinate-Conversion-Java:360781e5be'
159- implementation ' com.github.vipulasri:timelineview:1.1.5 '
122+ implementation ' com.github.vipulasri:timelineview:1.2.2 '
160123
161124 // Room components
162125 // noinspection GradleDependency
0 commit comments