android: target Android 16 (API 36)

Play blocks updates from August 31, 2026 unless the app targets API 36.
Bump compileSdk/targetSdk to 36 in :app and :baselineprofile, and AGP to
8.10.1 -- 8.7.3 cannot build against API 36. Gradle stays at 8.11.1, which
is what AGP 8.10 requires.

Nothing in the app relies on the behaviours Android 16 changed: edge-to-edge
is already opted in via enableEdgeToEdge(), the manifest pins no orientation
or resizability, and the two bundled native libraries (graphics-path,
datastore_shared_counter) are already 16 KB page aligned.

Align the version with iOS (1.8.1, code 88) so the API 36 build can ship.
This commit is contained in:
2026-08-19 15:35:06 +02:00
parent 9673bde107
commit 61e0cb061f
3 changed files with 7 additions and 7 deletions

View File

@@ -20,14 +20,14 @@ val hasReleaseSigning = keystoreProps.getProperty("storeFile")?.let { file(it).e
android { android {
namespace = "app.voltplan.cable" namespace = "app.voltplan.cable"
compileSdk = 35 compileSdk = 36
defaultConfig { defaultConfig {
applicationId = "app.voltplan.cable" applicationId = "app.voltplan.cable"
minSdk = 26 minSdk = 26
targetSdk = 35 targetSdk = 36
versionCode = 87 versionCode = 88
versionName = "1.8.0" versionName = "1.8.1"
// Aptabase analytics — mirrors the iOS configuration (the iPhone app's tracker). // Aptabase analytics — mirrors the iOS configuration (the iPhone app's tracker).
buildConfigField("String", "APTABASE_APP_KEY", "\"A-SH-4260269603\"") buildConfigField("String", "APTABASE_APP_KEY", "\"A-SH-4260269603\"")

View File

@@ -6,7 +6,7 @@ plugins {
android { android {
namespace = "app.voltplan.cable.baselineprofile" namespace = "app.voltplan.cable.baselineprofile"
compileSdk = 35 compileSdk = 36
compileOptions { compileOptions {
sourceCompatibility = JavaVersion.VERSION_11 sourceCompatibility = JavaVersion.VERSION_11
@@ -19,7 +19,7 @@ android {
defaultConfig { defaultConfig {
// Baseline profile capture needs API 33+ on an unrooted device. // Baseline profile capture needs API 33+ on an unrooted device.
minSdk = 33 minSdk = 33
targetSdk = 35 targetSdk = 36
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
} }

View File

@@ -1,5 +1,5 @@
[versions] [versions]
agp = "8.7.3" agp = "8.10.1"
kotlin = "2.1.0" kotlin = "2.1.0"
ksp = "2.1.0-1.0.29" ksp = "2.1.0-1.0.29"
coreKtx = "1.15.0" coreKtx = "1.15.0"