diff --git a/app/build.gradle b/app/build.gradle
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -1,20 +1,21 @@
plugins {
id 'com.google.protobuf'
- id 'kotlin-kapt'
- id 'kotlin-android'
+ id 'org.jetbrains.kotlin.android'
id 'com.android.application'
+ id 'com.google.devtools.ksp'
}
android {
- compileSdk 35
+ compileSdk 36
namespace "it.reyboz.bustorino"
defaultConfig {
applicationId "it.reyboz.bustorino"
minSdkVersion 24
- targetSdkVersion 35
- buildToolsVersion = '35.0.1'
+ //noinspection EditedTargetSdkVersion
+ targetSdkVersion 36
+ buildToolsVersion = '36.0.0'
versionCode 66
versionName "2.4.3"
vectorDrawables.useSupportLibrary = true
@@ -102,6 +103,10 @@
}
}
+ksp {
+ arg("room.schemaLocation", "$projectDir/assets/schemas")
+}
+
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
@@ -110,30 +115,30 @@
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
// Guava implementation for DBUpdateWorker
- implementation 'com.google.guava:guava:32.0.1-android'
+ implementation 'com.google.guava:guava:33.5.0-android'
implementation "androidx.fragment:fragment-ktx:$fragment_version"
- implementation "androidx.activity:activity:$activity_version"
+ implementation "androidx.activity:activity-ktx:$activity_version"
implementation "androidx.annotation:annotation:1.9.1"
implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.1.0"
implementation "androidx.appcompat:appcompat:$appcompat_version"
implementation "androidx.appcompat:appcompat-resources:$appcompat_version"
- implementation "androidx.preference:preference:$preference_version"
+ implementation "androidx.preference:preference-ktx:$preference_version"
implementation "androidx.work:work-runtime:$work_version"
implementation "androidx.work:work-runtime-ktx:$work_version"
- implementation "com.google.android.material:material:1.12.0"
+ implementation "com.google.android.material:material:1.13.0"
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
implementation "androidx.coordinatorlayout:coordinatorlayout:1.3.0"
- implementation 'org.jsoup:jsoup:1.15.3'
+ implementation 'org.jsoup:jsoup:1.21.2'
implementation 'com.readystatesoftware.sqliteasset:sqliteassethelper:2.0.1'
implementation 'com.android.volley:volley:1.2.1'
//maplibre
- implementation 'org.maplibre.gl:android-sdk:11.8.6'
+ implementation 'org.maplibre.gl:android-sdk:12.0.1'
implementation 'org.maplibre.gl:android-sdk-turf:6.0.1'
implementation 'org.maplibre.gl:android-plugin-annotation-v9:3.0.2'
@@ -144,9 +149,9 @@
implementation "ch.acra:acra-mail:$acra_version"
implementation "ch.acra:acra-dialog:$acra_version"
// google transit realtime
- implementation 'com.google.protobuf:protoc:3.22.3'
+ implementation 'com.google.protobuf:protoc:4.33.0'
- implementation 'com.google.protobuf:protobuf-javalite:3.22.3'
+ implementation 'com.google.protobuf:protobuf-javalite:4.33.0'
// mqtt library
//implementation 'org.eclipse.paho:org.eclipse.paho.client.mqttv3:1.2.5'
//implementation 'com.github.hannesa2:paho.mqtt.android:4.4'
@@ -164,21 +169,21 @@
// Room components
implementation "androidx.room:room-runtime:$room_version"
implementation "androidx.room:room-ktx:$room_version"
- kapt "androidx.room:room-compiler:$room_version"
+ ksp "androidx.room:room-compiler:$room_version"
//multidex - we need this to build the app
implementation "androidx.multidex:multidex:$multidex_version"
implementation 'de.siegmar:fastcsv:2.2.2'
- testImplementation 'junit:junit:4.12'
- implementation 'junit:junit:4.12'
+ testImplementation 'junit:junit:4.13.2'
+ implementation 'junit:junit:4.13.2'
- implementation "androidx.test.ext:junit:1.1.5"
+ implementation "androidx.test.ext:junit:1.3.0"
implementation "androidx.test:core:$androidXTestVersion"
implementation "androidx.test:runner:$androidXTestVersion"
implementation "androidx.room:room-testing:$room_version"
- androidTestImplementation "androidx.test.ext:junit:1.1.5"
+ androidTestImplementation "androidx.test.ext:junit:1.3.0"
androidTestImplementation "androidx.test:core:$androidXTestVersion"
androidTestImplementation "androidx.test:runner:$androidXTestVersion"
androidTestImplementation "androidx.test:rules:$androidXTestVersion"
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -51,11 +51,13 @@
android:name=".ActivityBackup"
android:label="@string/backup_activity"
android:parentActivityName=".ActivityPrincipal"
- android:theme="@style/AppTheme"
+ android:theme="@style/MapTheme"
android:exported="false"/>
+ android:exported="false"
+ android:theme="@style/AppTheme.NoActionBar.Light"
+ />
(R.id.default_toolbar)
+ setSupportActionBar(mToolbar)
+
if (supportActionBar != null) supportActionBar!!.setDisplayHomeAsUpEnabled(true)
- val versionText = findViewById(R.id.versionTextView)
- Log.d("BusTO About", "The version text view is: $versionText")
- versionText.text = resources.getText(R.string.app_version).toString() + ": " + BuildConfig.VERSION_NAME
+ val versionTextView = findViewById(R.id.versionTextView)
+ Log.d("BusTO About", "The version text view is: $versionTextView")
+ versionTextView.text = resources.getText(R.string.app_version).toString() + ": " + BuildConfig.VERSION_NAME
val openTelegramButton = findViewById