Mercury Li
7ff2124d33
Port upstream improvements and major version upgrades
...
Phase 1 - Low-risk changes:
- Enum.values() → Enum.entries (Kotlin modern idiom)
- SDK 36 + minSdk 23 across all convention plugins
- Simplify ConnectivityManager (remove API level branching for minSdk 23)
- Roborazzi 1.51.0 → 1.56.0
Phase 2 - Major version upgrades:
- Kotlin 2.1.20 → 2.3.0
- KSP 2.1.20-1.0.32 → 2.3.0 (KSP1 → KSP2)
- Compose Multiplatform 1.8.0 → 1.10.0
- Gradle 8.13 → 9.3.1
- Ktorfit 2.5.1 → 2.7.2 (with compilerPluginVersion 2.3.3)
- Fix Gradle 9 failOnNoDiscoveredTests default change
- Fix KSP2 task dependency for Koin annotation processing
Phase 3 - Module graph automation:
- Add Graph.kt with graphDump/graphUpdate tasks for KMP modules
- Add RootConventionPlugin to register graph tasks
- Add CI graph update/check steps in Build.yaml
Phase 4 - Spotless migration into convention plugins:
- Add Spotless.kt with configureSpotlessForAndroid/configureSpotlessForJvm
- Integrate into KmpLibrary, CmpApplication, JvmLibrary, AndroidTest plugins
- Add inline spotless config for root project and app-nia-catalog
- Delete gradle/init.gradle.kts (no longer needed)
- Update all references (CI, pre-push, IDE configs, AGENTS.md)
3 weeks ago
Mercury Li
79d859ad95
Port upstream improvements: setup-java v5, aapt2 API fix, typo fix
...
- Bump actions/setup-java@v4 → @v5 in CI workflows (upstream #1970 )
- Use sdkComponents.aapt2 API instead of manual SDK path in Badging.kt
(upstream #2017 ), removing need for BaseExtension parameter
- Fix typo "analyse" → "analyze" in README.md (upstream #2021 )
3 weeks ago
Mercury Li
e31481fd0b
Merge upstream android/nowinandroid pre-Navigation3 changes (up to d438a007)
3 weeks ago
Mercury Li
b60153218c
Fix CI build after KMP migration and Compose Multiplatform 1.7.3 upgrade
...
- Remove demo/prod flavor references from CI workflow (flavors were
removed during KMP migration)
- Replace tasks.create with tasks.register in convention plugins to fix
EagerGradleConfiguration lint error
- Remove HiltTestApplication references from screenshot and UI tests
(Hilt was replaced by Koin)
- Add Compose plugins to core:screenshot-testing for inline method
resolution
- Add androidx.navigation.testing dependency to feature:topic and
feature:interests for SavedStateHandle.toRoute
- Fix ViewModel tests in commonTest by setting up Dispatchers.Main
(bookmarks, settings)
- Uncomment TopicRoute in TopicViewModelTest SavedStateHandle setup
- Replace NavDestination.id with type-safe popUpTo<ForYouBaseRoute> in
NiaAppState (id property removed in KMP navigation)
- Rename badging golden file from prodRelease to release
- Update dependency guard baselines
- Update AGENTS.md with corrected task names
3 weeks ago
Don Turner
6b14f4fec8
Merge pull request #1961 from SimonMarquis/minifyWithR8
...
Disable R8 minfication step on PRs
6 months ago
Simon Marquis
fcab2605fa
Disable R8 minfication step on PRs
6 months ago
Simon Marquis
c21ce2dcbe
Fix graphUpdate naming in workflow
6 months ago
Simon Marquis
29e3dae062
Fix workflow
6 months ago
Simon Marquis
175164f76f
Detect changes when rendering graphs and auto-commit
6 months ago
Don Turner
ec63a7574e
Merge pull request #1811 from cdsap/main
...
Publishing GHA builds to scans.gradle.com
7 months ago
Simon Marquis
e821058d34
Fix issue with `github/codeql-action/upload-sarif@v3`
...
where multiple runs of the same tool (e.g. through mutliple files) is now considered an error.
https://github.blog/changelog/2025-07-21-code-scanning-will-stop-combining-multiple-sarif-runs-uploaded-in-the-same-sarif-file/
7 months ago
Don Turner
5c283200db
Merge pull request #1882 from SimonMarquis/patch-5
...
Update GHA JDK to the latest LTS version (21)
8 months ago
Christopher Cartland
ba1a463498
CI: Integrate workflow_triggers for nowinandroid from cartland's fork ( #1873 )
...
* Update workflow triggers
- Build.yaml: Add workflow_dispatch, specify branches for pull_request.
- NightlyBaselineProfiles.yaml: Add workflow_dispatch and push (main) triggers.
- Release.yml: Add workflow_dispatch trigger.
* Allow build for PR on all branches
* Remove the push trigger for NightlyBaselineProfiles.yaml
9 months ago
Simon Marquis
b9b654acf3
Update GHA JDK to the latest LTS version (21)
9 months ago
Inaki Villar
23f602637b
publishing to scans.gradle.com
1 year ago
Ben Weiss
6c931b1e11
Revert "Feature / Added baseline and startup profile generation ( #1752 )"
...
This reverts commit 8f196e18a7 .
1 year ago
Simon Marquis
d47315e612
Disable Release workflow on forks
1 year ago
Simon Marquis
05621615da
Disable NightlyBaselineProfiles workflow on forks
1 year ago
Don Turner
4e17010b97
Merge pull request #1772 from SimonMarquis/gradle-configuration-cache
...
Gradle Configuration Cache on CI
1 year ago
Don Turner
dcfb8ba206
Merge pull request #1768 from SimonMarquis/SimonMarquis-patch-5
...
Add bot emails in `renovate.json`
1 year ago
Don Turner
edf91bdc0e
Merge pull request #1771 from SimonMarquis/patch-2
...
Fix CI workflow OOM
1 year ago
Simon Marquis
88fdb1709f
Remove unnecessary steps
1 year ago
Simon Marquis
46f2390c0e
Remove last bits of GMD requirements from regular build workflow
...
The removal was initiated in:
- https://github.com/android/nowinandroid/pull/1757
1 year ago
Simon Marquis
e5f1b842ee
Gradle Configuration Cache on CI
...
- https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#saving-configuration-cache-data
- https://docs.gradle.org/current/userguide/configuration_cache.html#config_cache:secrets
And enable parallel Configuration Cache:
- https://docs.gradle.org/current/userguide/configuration_cache.html#config_cache:usage:parallel
This needs a `GRADLE_ENCRYPTION_KEY` secret to be configured in the repository [settings/secrets/actions](https://github.com/android/nowinandroid/settings/secrets/actions ), otherwise no configuration cache will be saved or restored.
As explained in the docs, you can use this tool to generate a configuration-cache compatible key: `openssl rand -base64 16`.
1 year ago
Simon Marquis
4e2060278c
Update NightlyBaselineProfiles.yaml
1 year ago
Simon Marquis
1f285ce070
Fix CI workflow OOM
...
Don't change the start directory with `-p :build-logic` which makes Gradle look for `build-logic/gradle.properties` file that does not exist.
Therefore, the heap size was configured with default values (`-Xmx512m`) which is definitely not enough for our linting.
Fixes #1769
1 year ago
Simon Marquis
7cfe3bd7a2
Re-order entries to limit changes in diff
1 year ago
Simon Marquis
c10d867e1c
Add bot emails in `renovate.json`
...
Followup on https://github.com/android/nowinandroid/pull/1766
1 year ago
Don Turner
b46d2d6874
Merge pull request #1766 from SimonMarquis/SimonMarquis-patch-3
...
Add GitHub Actions bot to Renovate's `gitIgnoredAuthors`
1 year ago
Don Turner
400e368551
Merge pull request #1763 from SimonMarquis/patch-3
...
Remove default (and deprecated) `gradle-setup` parameters
1 year ago
Simon Marquis
2b2cf6349e
Remove default (and deprecated) `gradle-setup` parameters
...
- https://github.com/gradle/actions/blob/main/docs/deprecation-upgrade-guide.md#the-gradle-home-cache-cleanup-input-parameter-has-been-replaced-by-cache-cleanup
- https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#gradle-wrapper-validation
1 year ago
Simon Marquis
a6a3517a2e
Add GitHub Actions bot to Renovate's `gitIgnoredAuthors`
...
To let renovate rebase the reviews when needed, as we sometimes need to update the ringtone dependencies file on top of a dependency bump.
1 year ago
Simon Marquis
194447ac3c
Check presence of sarif files before executing `codeql-action/upload-sarif`
...
because the action behavior is to throw errors when no sarif files are available...
Closes #1759
1 year ago
Mohsen Rezania
8f196e18a7
Feature / Added baseline and startup profile generation ( #1752 )
...
* Added baseline and startup profile generation and push in NightlyBaselineProfiles.yaml
* Removed extra jobs
1 year ago
Don Turner
dac7ff0b14
Remove benchmarks from Build workflow
1 year ago
Ben Weiss
6f55f79be0
Remove GMD from regular build
...
Change-Id: Id63af908823a6bef576ebc35f65833847bacc5c4
1 year ago
Don Turner
19877b1bab
Merge pull request #1754 from android/dt/switch-to-renovate
...
Renovate: enable automerge
1 year ago
Don Turner
a6fe50a4b9
Re-enable automerge
1 year ago
Don Turner
86fab771f2
Merge pull request #1753 from android/dt/switch-to-renovate
...
Add Renovate, remove Dependabot
1 year ago
Don Turner
8f25d4be8f
Add Renovate, remove Dependabot
1 year ago
Simon Marquis
ceab72b247
Add missing `security-events: write` permission
...
Required by codeql-action: https://github.com/github/codeql-action/tree/main?tab=readme-ov-file#workflow-permissions
1 year ago
Don Turner
57d98cc2e2
Merge pull request #921 from SimonMarquis/sarif
...
Enable SARIF support on GitHub Actions
1 year ago
Jaehwa Noh
b9105c61f7
Replace github action `always` into `!cancelled`. ( #1440 )
...
* Replace method always into cancelled.
Change-Id: I6518ce38a6640d42b9089e264c529ddaf75766b8
* Remove redundant if state.
1 year ago
Don Turner
3a3643e258
Merge pull request #1725 from android/dt/add-api34emu
...
Add API 34 emulator
1 year ago
Jaehwa Noh
e6ec99e793
Add clear instruction at CI screenshot tests error output ( #1423 )
...
* Add clear instruction
- Your fork's CI will take screenshots for your fork.
Change-Id: I7ea1a437be4f9723fcf71d4d18932f8f44f46fa8
* Remove screenshots to see CI instruction.
Change-Id: Ib12f0ee4ff4faff8287f9ddfd5e533868abca4f8
* Revert "Remove screenshots to see CI instruction."
This reverts commit 36de3be9ba .
1 year ago
Simon Marquis
2e1232c136
Merge remote-tracking branch 'upstream/main' into sarif
1 year ago
Don Turner
cc50941173
Add API 34 emulator
1 year ago
Don Turner
8267b619d6
Removing API 30 emulator while investigating flakiness
1 year ago
Simon Marquis
78dbdfac53
Bump `github/codeql-action/upload-sarif@v3`
1 year ago
Simon Marquis
085347e5e2
Merge branch 'main' into sarif
1 year ago