From 5063fcc635538e49bef2511d1ef0387b5903b09e Mon Sep 17 00:00:00 2001 From: SiteRelEnby <125829806+SiteRelEnby@users.noreply.github.com> Date: Thu, 27 Aug 2026 17:56:10 -0400 Subject: [PATCH] chore: target Android 16 (SDK 36) on phone and watch Google Play requires new and updated apps to target API 36 from 31 August, so this raises compileSdk and targetSdk to 36 on both modules. minSdk stays at 26. Raising the target says which behaviours the app opts into; it does not drop any device. The behaviour changes Android 16 enforces at this target were already handled: - Edge-to-edge is mandatory. The app has always called enableEdgeToEdge, and 1.3.1 fixed the inset regression that left content under the status bar, so the layout is already correct for it. - Orientation and resizability locks are ignored on large screens. The portrait lock came off in 1.3.0 when the app learned to rotate, so there is nothing left to ignore. - 16 KB memory pages. We ship no native code of our own, and the two libraries that arrive transitively (androidx.graphics.path, datastore_shared_counter) already have 16 KB aligned LOAD segments, verified against the built APK. Both flavours, the wear module, and the unit tests build clean. The only warnings are pre-existing Material3 deprecations unrelated to the SDK level: AutoMirrored icon variants and the newer menuAnchor overload. --- sheaf/app/build.gradle.kts | 4 ++-- sheaf/wear/build.gradle.kts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sheaf/app/build.gradle.kts b/sheaf/app/build.gradle.kts index d0df11a..ac09865 100644 --- a/sheaf/app/build.gradle.kts +++ b/sheaf/app/build.gradle.kts @@ -67,11 +67,11 @@ val latestReleaseTag: String = runCatching { android { namespace = "systems.lupine.sheaf" - compileSdk = 35 + compileSdk = 36 defaultConfig { minSdk = 26 - targetSdk = 35 + targetSdk = 36 versionCode = providers.gradleProperty("versionCode").orNull?.toInt() ?: 1 // CI passes -PversionName; local dev builds derive from the most // recent git release tag with a "-dev" suffix so About never lies diff --git a/sheaf/wear/build.gradle.kts b/sheaf/wear/build.gradle.kts index 5e3a732..5b73766 100644 --- a/sheaf/wear/build.gradle.kts +++ b/sheaf/wear/build.gradle.kts @@ -16,11 +16,11 @@ val gitCommitShort: String = runCatching { android { namespace = "systems.lupine.sheaf.wear" - compileSdk = 35 + compileSdk = 36 defaultConfig { minSdk = 26 - targetSdk = 35 + targetSdk = 36 // Form-factor index appended to phone's base*10 versionCode: phone=0, // wear=1. CI passes -PversionCode already multiplied by 10, so +1 here // lands wear at base*10+1. Standalone dev builds (no -PversionCode)