Skip to content

build: migrate to Gradle 9 and AGP 9 with new Compose Multiplatform s… - #77

Open
MeshackKangi wants to merge 5 commits into
ohs-foundation:mainfrom
MeshackKangi:migrate-gradle9
Open

MeshackKangi wants to merge 5 commits into
ohs-foundation:mainfrom
MeshackKangi:migrate-gradle9

Conversation

@MeshackKangi

Copy link
Copy Markdown

Migrates the build to Gradle 9 and AGP 9, and restructures modules to follow
the current Compose Multiplatform layout.

  • Gradle wrapper → 9.1.0
  • AGP → 9.0.1
  • New module layout:
    • ohs-player-library: KMP library (androidKotlinMultiplatformLibrary plugin)
    • androidApp: Android application module
    • desktopApp: Desktop application module
    • webApp: Web/Wasm application module
    • Removes the old reference-app / ohs-player-reference-app modules
  • Updates CI/CD workflows for the new module paths
  • Preserves all source code, custom source sets (foregroundSync*), iOS
    framework config, igCodegen, and generateAuthConfig

Breaking change

Module structure changed from a single reference-app to the multi-module
setup above. Consumers depending on :reference-app must switch to
:ohs-player-library.

Possible conflicts

This touches .github/workflows/ci.yml and .github/workflows/release.yml,
which overlap with the in-flight update-ci-env-variables branch (env vars
for OAuth/FHIR URIs). It also removes reference-app entirely, which that
branch still modifies. Flagging so the merges can be sequenced — happy to
rebase once one lands.

dev and others added 5 commits September 8, 2026 15:03
…tructure

- Update Gradle wrapper to 9.1.0
- Update Android Gradle Plugin to 9.0.1
- Restructure modules to follow new Compose Multiplatform directory structure:
  - ohs-player-library: KMP library with androidKotlinMultiplatformLibrary plugin
  - androidApp: Android application module
  - desktopApp: Desktop application module
  - webApp: Web/Wasm application module
  - Remove reference-app and ohs-player-reference-app modules
- Update CI/CD workflows for new module paths
- Preserve all source code, custom source sets (foregroundSync*), iOS framework config, igCodegen, and generateAuthConfig

BREAKING CHANGE: Module structure changed from single reference-app to multi-module setup.
Consumers must update build scripts to depend on :ohs-player-library instead of :reference-app.
@ellykits

Copy link
Copy Markdown
Contributor

@MeshackKangi Can you update your commit messages to this style https://cbea.ms/git-commit/ for consistency.

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