Migrate to libs.versions.toml and update to minSdk 30, targetSdk 35#19
Open
Migrate to libs.versions.toml and update to minSdk 30, targetSdk 35#19
Conversation
- Created gradle/libs.versions.toml with all dependency versions - Updated minSdk from 24 to 30 (Android 11+) - Updated targetSdk and compileSdk from 34 to 35 (Android 15) - Updated all dependencies to latest stable versions: * Core KTX: 1.12.0 -> 1.15.0 * AppCompat: 1.6.1 -> 1.7.0 * Material: 1.11.0 -> 1.12.0 * ConstraintLayout: 2.1.4 -> 2.2.0 * Lifecycle: 2.6.2 -> 2.8.7 * CameraX: 1.3.1 -> 1.4.0 * Coroutines: 1.7.3 -> 1.9.0 * JUnit Ext: 1.1.5 -> 1.2.1 * Espresso: 3.5.1 -> 3.6.1 - Updated build.gradle.kts to use version catalog - Updated app/build.gradle.kts to use version catalog - Build successful with all new configurations Co-authored-by: tobi01001 <1083336+tobi01001@users.noreply.github.com>
- Created MIGRATION_LIBS_VERSIONS_TOML.md with detailed documentation - Documented all version changes and their impact - Included migration instructions for future updates - Added compatibility notes and SDK implications - Provided rollback instructions if needed Co-authored-by: tobi01001 <1083336+tobi01001@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Migrate to libs.versions.toml for dependency management
Migrate to libs.versions.toml and update to minSdk 30, targetSdk 35
Jan 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Modernizes dependency management using Gradle version catalogs and updates SDK requirements to Android 11+ minimum, Android 15 target.
Changes
Version Catalog Migration
gradle/libs.versions.tomlcentralizing all 16 dependencies and 2 pluginsbuild.gradle.ktsandapp/build.gradle.ktsto usealias(libs.*)referencesBefore:
After:
implementation(libs.androidx.camera.core) // Version defined once in libs.versions.tomlSDK Updates
Dependency Updates
Documentation
MIGRATION_LIBS_VERSIONS_TOML.mdwith version matrix, update procedures, and compatibility notesImpact
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.