diff --git a/CHANGELOG.md b/CHANGELOG.md index 3c61837..be9848a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,20 +14,30 @@ android { } ``` -### Changes +### :warning: BREAKING CHANGES + +- **android:** Default `targetSdk` changed from `33` to `34` + +### Other Changes -- Update Gradle to `8.8` (:warning: Minimal required Gradle version is `8.0`) - **android:** Remove the workaround for Explicit API enabling as the issue has been [fixed](https://youtrack.jetbrains.com/issue/KT-37652) in Kotlin 1.9 - **kotlin:** Deprecate accessor `kotlinCompile`. It is recommended to use `kotlin.compilerOptions { ... }` to configure compilation instead. +- Update Gradle to `8.8` ### Dependencies +| Dependency | Minimal version | +|-----------------------|:-------------------:| +| Gradle | `7.4` → `8.0` | +| Kotlin Gradle Plugin | `1.7.10` → `1.9.0` | +| Android Gradle Plugin | `7.4.0` → `8.4.0` | + infrastructure-kotlin: -- [Kotlin](https://kotlinlang.org/docs/whatsnew20.html) `1.8.10` → `2.0.0` (:warning: Minimal required Kotlin version is `1.9.0`) +- [Kotlin](https://kotlinlang.org/docs/whatsnew20.html) `1.8.10` → `2.0.0` infrastructure-android: -- [Android Gradle Plugin](https://developer.android.com/studio/releases/gradle-plugin) `7.4.2` → `8.5.0` (:warning: Minimal required AGP version is `8.4.0`) +- [Android Gradle Plugin](https://developer.android.com/studio/releases/gradle-plugin) `7.4.2` → `8.5.0` - [Android cache fix Gradle plugin](https://github.com/gradle/android-cache-fix-gradle-plugin/releases/tag/v3.0.1) `2.7.0` → `3.0.1` - Remove `com.android.tools:common` from dependencies diff --git a/infrastructure-android/src/main/kotlin/android/AndroidOptions.kt b/infrastructure-android/src/main/kotlin/android/AndroidOptions.kt index 4b47a7a..9aadc38 100644 --- a/infrastructure-android/src/main/kotlin/android/AndroidOptions.kt +++ b/infrastructure-android/src/main/kotlin/android/AndroidOptions.kt @@ -36,6 +36,6 @@ public interface AndroidOptions { public companion object { internal const val DEFAULT_MIN_API = 23 - internal const val DEFAULT_TARGET_API = 33 + internal const val DEFAULT_TARGET_API = 34 } } diff --git a/samples/android-application-multi/build.gradle.kts b/samples/android-application-multi/build.gradle.kts index 4eb81ea..161ac04 100644 --- a/samples/android-application-multi/build.gradle.kts +++ b/samples/android-application-multi/build.gradle.kts @@ -10,6 +10,6 @@ plugins { redmadrobot { android { minSdk = 24 - targetSdk = 33 + targetSdk = 34 } }