Skip to content

Merge update/gradle-9 into main#37

Merged
CoderMP merged 4 commits intomainfrom
update/gradle-9
Feb 13, 2026
Merged

Merge update/gradle-9 into main#37
CoderMP merged 4 commits intomainfrom
update/gradle-9

Conversation

@CoderMP
Copy link
Owner

@CoderMP CoderMP commented Feb 13, 2026

🚀 Description

PR adds in the platform migration to Gradle 9 and adds some improvements to pre-existing utility classes.

📄 Motivation and Context

PR is required to modernize the template to keep it current and functional

🧪 How Has This Been Tested?

📷 Screenshots (if appropriate)

📦 Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Version Bump (non-breaking change which bumps the version)
  • New feature (non-breaking change which adds functionality)
  • New utility (non-breaking change which supplements functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

✅ Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Upgrades the project’s build platform to Gradle 9 / AGP 9 and refreshes dependency versions, alongside small updates to UI utilities to align with newer Compose/adaptive APIs.

Changes:

  • Bump Gradle wrapper to 9.3.1 and add Foojay toolchain resolver convention plugin.
  • Update version catalog (AGP/Kotlin/Compose/etc.), add androidx.concurrent:futures deps, and adjust build configuration.
  • Update UI utilities: make ObserveAsEvents accept a suspend handler; rework DeviceConfiguration to use adaptive window sizing and add helper properties.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
settings.gradle.kts Adds Foojay toolchain resolver convention plugin for toolchain provisioning.
gradle/wrapper/gradle-wrapper.properties Updates wrapper to Gradle 9.3.1.
gradle/libs.versions.toml Major dependency/plugin version bumps; adds concurrent-futures libs; updates Detekt plugin id.
gradle.properties Adds/adjusts Android/AGP-related Gradle properties for the migration.
app/.../ObserveAsEvents.kt Changes event callback to suspend and updates KDoc accordingly.
app/.../DeviceConfiguration.kt Introduces adaptive-based configuration lookup and new enum helpers; updates classification logic.
app/build.gradle.kts Refactors Android/Detekt/Kotlin/Room configuration blocks and updates dependencies for new libs.
Comments suppressed due to low confidence (1)

app/build.gradle.kts:10

  • The module no longer applies the Kotlin Android plugin. With Kotlin sources under app/src/main/... and a top-level kotlin { compilerOptions { ... } } block below, this is very likely to break configuration/compilation because the kotlin extension and Android/Kotlin compile tasks are provided by org.jetbrains.kotlin.android. Re-add alias(libs.plugins.kotlin.android) (or otherwise apply the Kotlin Android plugin) in this module.
plugins {
    alias(libs.plugins.android.application)
    alias(libs.plugins.detekt)
    alias(libs.plugins.junit5)
    alias(libs.plugins.kotlin.compose)
    alias(libs.plugins.kotlin.serialization)
    alias(libs.plugins.ksp)
    alias(libs.plugins.room)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@CoderMP CoderMP merged commit 79a70cd into main Feb 13, 2026
4 checks passed
@CoderMP CoderMP deleted the update/gradle-9 branch February 13, 2026 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants