Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Commit 46d1799

Browse files
authored
Upgrade AGP and increase compile SDK (#176)
* Upgraded AGP to `8.7.1` Signed-off-by: Arnau Mora Gras <[email protected]> * Increase compile sdk to 35 Signed-off-by: Arnau Mora Gras <[email protected]> * Made `installedVersionName` nullable Signed-off-by: Arnau Mora Gras <[email protected]> --------- Signed-off-by: Arnau Mora Gras <[email protected]>
1 parent eb50f30 commit 46d1799

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
agp = "8.7.0"
2+
agp = "8.7.1"
33
android-desugar = "2.1.2"
44
androidx-core = "1.13.1"
55
androidx-test-rules = "1.6.1"

lib/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ plugins {
1010
}
1111

1212
android {
13-
compileSdk = 34
13+
compileSdk = 35
1414

1515
namespace = "at.bitfire.ical4android"
1616

lib/src/main/kotlin/at/bitfire/ical4android/TaskProvider.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ import android.content.Context
1010
import android.content.pm.PackageManager
1111
import androidx.core.content.pm.PackageInfoCompat
1212
import at.bitfire.ical4android.util.MiscUtils.closeCompat
13-
import org.dmfs.tasks.contract.TaskContract
1413
import java.io.Closeable
1514
import java.util.logging.Level
1615
import java.util.logging.Logger
16+
import org.dmfs.tasks.contract.TaskContract
1717

1818

1919
class TaskProvider private constructor(
@@ -143,7 +143,7 @@ class TaskProvider private constructor(
143143
class ProviderTooOldException(
144144
val provider: ProviderName,
145145
installedVersionCode: Long,
146-
val installedVersionName: String
146+
val installedVersionName: String?
147147
): Exception("Package ${provider.packageName} has version $installedVersionName ($installedVersionCode), " +
148148
"required: ${provider.minVersionName} (${provider.minVersionCode})")
149149

0 commit comments

Comments
 (0)