Skip to content

Commit

Permalink
android: Update default targetSdk to 34
Browse files Browse the repository at this point in the history
  • Loading branch information
osipxd committed Jul 8, 2024
1 parent a3bb5cd commit bf9b572
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
18 changes: 14 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
2 changes: 1 addition & 1 deletion samples/android-application-multi/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ plugins {
redmadrobot {
android {
minSdk = 24
targetSdk = 33
targetSdk = 34
}
}

0 comments on commit bf9b572

Please sign in to comment.