Skip to content

Commit

Permalink
Upgrade AGP and increase compile SDK (#176)
Browse files Browse the repository at this point in the history
* Upgraded AGP to `8.7.1`

Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me>

* Increase compile sdk to 35

Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me>

* Made `installedVersionName` nullable

Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me>

---------

Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me>
  • Loading branch information
ArnyminerZ authored Oct 22, 2024
1 parent eb50f30 commit 46d1799
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
agp = "8.7.0"
agp = "8.7.1"
android-desugar = "2.1.2"
androidx-core = "1.13.1"
androidx-test-rules = "1.6.1"
Expand Down
2 changes: 1 addition & 1 deletion lib/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ plugins {
}

android {
compileSdk = 34
compileSdk = 35

namespace = "at.bitfire.ical4android"

Expand Down
4 changes: 2 additions & 2 deletions lib/src/main/kotlin/at/bitfire/ical4android/TaskProvider.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import android.content.Context
import android.content.pm.PackageManager
import androidx.core.content.pm.PackageInfoCompat
import at.bitfire.ical4android.util.MiscUtils.closeCompat
import org.dmfs.tasks.contract.TaskContract
import java.io.Closeable
import java.util.logging.Level
import java.util.logging.Logger
import org.dmfs.tasks.contract.TaskContract


class TaskProvider private constructor(
Expand Down Expand Up @@ -143,7 +143,7 @@ class TaskProvider private constructor(
class ProviderTooOldException(
val provider: ProviderName,
installedVersionCode: Long,
val installedVersionName: String
val installedVersionName: String?
): Exception("Package ${provider.packageName} has version $installedVersionName ($installedVersionCode), " +
"required: ${provider.minVersionName} (${provider.minVersionCode})")

Expand Down

0 comments on commit 46d1799

Please sign in to comment.