New launcher icon, version 0.2.0, lint cleanup

Icon: a capsule in a hurry — stadium pill at 45° with motion lines
trailing, «med det samme» as imagery. versionCode 2 / versionName 0.2.0
with a bump-on-release note. Lint: KTX conversions (prefs.edit{},
toUri, createBitmap), mipmap-anydpi-v26 merged into mipmap-anydpi
(minSdk 26 makes the qualifier dead weight), compose-bom 2026.05.01,
Gradle wrapper 9.5.1, and the three deliberate-decision warnings
(BatteryLife/OldTargetApi/NewerVersionAvailable) disabled with
documented reasons. Lint now runs clean.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Ole-Morten Duesund 2026-06-11 17:55:06 +02:00
commit 80c8c4788a
9 changed files with 52 additions and 27 deletions

View file

@ -31,8 +31,10 @@ android {
applicationId = "no.naiv.meddetsamme"
minSdk = 26
targetSdk = 35
versionCode = 1
versionName = "0.1.0"
// Bump both for every release installed on the phone — versionName for
// humans, versionCode so dumpsys/install history can tell builds apart.
versionCode = 2
versionName = "0.2.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
@ -67,6 +69,14 @@ android {
compose = true
}
lint {
// Deliberate decisions, not oversights — see CLAUDE.md:
// BatteryLife: decision #4, sideloaded app (Play policy n/a).
// OldTargetApi: targetSdk 35 is pinned by the brief.
// NewerVersionAvailable: Kotlin 2.4 is blocked until KSP supports it.
disable += listOf("BatteryLife", "OldTargetApi", "NewerVersionAvailable")
}
// MigrationTestHelper reads the exported schema JSONs as androidTest assets.
sourceSets.getByName("androidTest").assets.srcDir("$projectDir/schemas")
}