Skip to content

build: bump compileSdk to 37 (unblocks androidx-core 1.19.0+) #116

Description

@thebehera

Context

PR #115 (bring dependencies current) held androidx-core at 1.18.0. The reason: androidx-core 1.19.0 sets minCompileSdk=37, but both Android modules currently compile against compileSdk 36, so AGP's checkReleaseAarMetadata / checkDebugAndroidTestAarMetadata fail:

Dependency 'androidx.core:core:1.19.0' requires libraries and applications that depend on it to compile against version 37 or later of the Android APIs … is currently compiled against android-36.

Bumping compileSdk touches the API 37 surface (lint, manifest merger, possible runtime behavior), so it was deliberately kept out of the toolchain PR.

Scope

  • build.gradle.kts (base module): compileSdk = 3637
  • socket-quic/build.gradle.kts: compileSdk = 3637
  • gradle/libs.versions.toml: androidxCore 1.18.01.19.0 (or latest)
  • Verify AGP 9.2.1 supports compileSdk 37 and CI's setup-android installs the API 37 platform
  • Re-run ktlintCheck, :checkReleaseAarMetadata, and the android-emulator job
  • Decide whether targetSdk should also move (compileSdk can advance independently)

Validation

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions