Mercury Li
78a9b94b0c
Fix CMP 1.10.0 deprecation warnings: migrate compose.* accessors and Preview imports
...
- Replace deprecated compose.* plugin accessors with explicit Maven coordinates in version catalog
- Upgrade Kotlin 2.3.0→2.3.10, KSP 2.3.0→2.3.5 to suppress androidTarget() warnings
- Migrate @Preview from deprecated components-uiToolingPreview to ui-tooling-preview artifact
- Fix LocalLifecycleOwner import to androidx.lifecycle.compose
- Fix webpack DevServer static property deprecation
- Update dependency guard baseline
3 months ago
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 months ago
Mercury Li
e31481fd0b
Merge upstream android/nowinandroid pre-Navigation3 changes (up to d438a007)
3 months ago
Mercury Li
014c724505
Fix androidTest packaging and stabilize instrumented navigation checks
...
Move test-only dependencies out of commonMain to stop androidx.test classes leaking into app runtime, which fixes missing ActivityInvoker in the test APK. Also update instrumented tests to use Compose resource APIs correctly, make navigation assertions resilient to emulator back-stack variance, and use version-catalog lifecycle testing deps where required.
3 months ago
Mercury Li
0fe9f19b50
Fix instrumented tests: move screenshotTesting out of commonTest
...
Move core:screenshotTesting from commonTest to androidUnitTest dependencies
to prevent Robolectric's LocalPermissionGranter from leaking into the
instrumented test classpath via KotlinSourceSetTree.test. Add explicit
espresso-core dependency to androidInstrumentedTest.
3 months ago
Mercury Li
a0ac3e1474
Upgrade dependencies to latest Kotlin 2.1.20 compatible versions
...
Upgrade build toolchain (Gradle 8.13, AGP 8.13.0, Kotlin 2.1.20, KSP 2.1.20-1.0.32),
Compose Multiplatform 1.8.0, and all core/test/AndroidX libraries to their latest versions
compatible with Kotlin 2.1.20. Fix all resulting API breakages including Koin 4.1.0 startup,
material3-adaptive suspend navigation, JVM target consistency, and AGP managed device API changes.
3 months ago
Aurimas Liutikas
e1d1e6fec6
Upgrade all Gradle plugins to latest versions
...
Test: ./gradlew :app:assemble :app:lintProdRelease :app-nia-catalog:lintRelease :lint:lint dependencyGuard
6 months ago
Aurimas Liutikas
ff0ff56a18
Upgrade to Firebase Perf Plugin 2.0.2
...
This pulls in fixes for AGP 9.x incompatibilities
Test: None
6 months ago
Aurimas
6f61763a52
Merge pull request #1981 from liutikas/robolectricupgrade
...
Upgrade robolectric and roborazzi versions
6 months ago
Aurimas Liutikas
4f7bf435e8
Upgrade robolectric and roborazzi versions
...
Test: ./gradlew verifyRoborazziDemoDebug
6 months ago
Aurimas Liutikas
8c8322f4c6
Upgrade to KSP 2.3.1
...
Test: ./gradlew build
6 months ago
Aurimas Liutikas
83d6dbb856
Upgrade Gradle, AGP, KGP
...
Gradle 9.0.0 -> 9.1.0
AGP 8.12.2 -> 8.13.0
KGP 2.1.10 -> 2.2.20
Test: ./gradlew build
6 months ago
Simon Marquis
5e34fb49c0
Create `RootPlugin` to `configureGraphTasks()` on `subprojects`
8 months ago
Simon Marquis
c94e82849b
Merge remote-tracking branch 'origin/main' into graphs
8 months ago
Aurimas Liutikas
c53ceff6f4
Clean up loading of oss-licenses-plugin
...
- Move to using plugins {} block for applying com.google.android.gms.oss-licenses-plugin
as this plugin now publishes plugin markers
- Upgrade oss-licenses-plugin to 0.10.8
- Remove unused secrets plugin
Test: ./gradlew build -m
8 months ago
Don Turner
a152149dc5
Merge pull request #1947 from Jaehwa-Noh/gradle-to-gradle-api
...
Replace gradle to gradle-api.
8 months ago
Simon Marquis
0156c82090
Remove `com.jraska.module.graph.assertion` plugin
8 months ago
Aurimas Liutikas
4d45004820
Upgrade to latest stable AGP 8.12.2
...
- Upgrades to a newer version of compose bom that pulls in newer
versions of lint checks that work with AGP 8.12.2
- Bump the minSdk to 23 because compose now requires minSdk 23
- Update Navigation_fontScale2.png due to compose upgrade
- Clean up BuildConfig set up since we already use Gradle 9.0.0
Test: ./gradlew build
8 months ago
Jaehwa Noh
17100a4119
Replace gradle to gradle-api.
...
Should use `gradle-api`.
https://developer.android.com/build/releases/gradle-plugin-roadmap#agp-10
Change-Id: If1c4869eb57ef3d3e1834c57768b90e5d6967f10
8 months ago
Don Turner
8092c60c0f
Merge pull request #1930 from liutikas/gradle9.0.0
...
Upgradle to 9.0.0
9 months ago
Aurimas Liutikas
c48c8381e1
Upgradle to 9.0.0
...
It also bumps the version of oss-licenses-plugin to pick up a fix for
https://github.com/google/play-services-plugins/issues/309
Test: ./gradlew build
9 months ago
Aurimas Liutikas
5aee570a85
Upgrade Firebase Crashlytics and Perf plugins
...
This fixes the Project Isolation issues in these plugins
https://github.com/firebase/firebase-android-sdk/issues/6748
Test: ./gradlew build --dry-run -Dorg.gradle.unsafe.isolated-projects=true
-> fewer issues
9 months ago
Aurimas Liutikas
334aa8a2d4
Upgrade to Room 2.7.2
...
This fixes room Gradle project isolation issues
https://github.com/android/nowinandroid/issues/1842
Test: ./gradlew build --dry-run -Dorg.gradle.unsafe.isolated-projects=true
fewer issues
9 months ago
Don Turner
fcffcf8d11
Update test versions to fix Failed resolution of: Landroidx/test/internal/platform/app/ActivityInvokerhimBHTCC;
10 months ago
Aurimas Liutikas
8bc0ad7b13
Upgrade to benchmark 1.3.4
...
It picks up Gradle Isolated Project fixes
Test: ./gradlew build --dry-run -Dorg.gradle.unsafe.isolated-projects=true
fewer warnings after the PR
1 year ago
Aurimas Liutikas
19f0358550
Upgrade to the newest version of dagger/hilt
...
This brings in a fix for Gradle Isolated Projects
https://github.com/google/dagger/issues/4423
Thus helping to make progress on https://github.com/android/nowinandroid/issues/1842
1 year ago
Aurimas Liutikas
4272acee20
Upgrade AGP and Gradle
...
- Upgrade to Gradle 8.13 ./gradlew wrapper --gradle-version 8.13
- Add checksum to make sure valid distribution is used
- Upgrade AGP to 8.9.0
1 year ago
Aurimas Liutikas
e0e43c92a2
Upgrade Kotlin to 2.1.10, KSP to 2.1.10-1.0.31
1 year ago
Alex Vanyo
e25b3634ca
Add predictive back and pane expansion back handling
...
Change-Id: I8e881bb2cf549303be8612732bfb7df7555096aa
1 year ago
Alex Vanyo
f3cf2379a3
Update to material3-adaptive 1.1
...
Change-Id: I4b3b68face17149ab87135df28baa41cd5bacb0f
1 year ago
lihenggui
bb88937091
Update compose multiplatform version to 1.7.3
1 year ago
lihenggui
3f7e1620a1
Merge remote-tracking branch 'upstream/main'
1 year ago
lihenggui
0c691b9676
Merge remote-tracking branch 'upstream/main'
1 year ago
Rob Orgiu
82e4e7c65e
Reformat androidxComposeFoundation in alphabetical order
1 year ago
Rob Orgiu
31c4f05872
Simplify Drag&Drop implementation
1 year ago
renovate[bot]
eb1f5d2580
Update all dependencies
1 year ago
renovate[bot]
ad99455378
Update all dependencies 1.9.0 to v1.10.0
1 year ago
renovate[bot]
366c7bb18b
Update all dependencies 4.29.1 to v4.29.2
1 year ago
Alex Vanyo
e4681fce31
Add androidx.lint:lint-gradle to build-logic
...
Change-Id: I95a0e1f5ae5d78d3725ab20031fe268515a50153
1 year ago
renovate[bot]
1a5ebdbd32
Update all dependencies
1 year ago
Don Turner
a258794dc6
Merge branch 'main' into introduce_screenshot_a11y_tests
1 year ago
lihenggui
f4ff871629
Upgrade dependencies
1 year ago
lihenggui
e5cd8e3a52
Upgrade ktorfit to the latest version
1 year ago
lihenggui
a87dcda7eb
Merge remote-tracking branch 'upstream/main'
1 year ago
Ben Weiss
4a0723441f
Dependency version upgrades, not API 35 yet ( #1719 )
...
* Update screenshots
Change-Id: Ibed7889a3389ab6044e00a185158f36ce857b6b2
* Dependency version upgrades
Change-Id: Ib4a1f9bef1dd3e1736907479125d0abb5b22e9bd
* Address review comments
Change-Id: Ia2c6a52e289285a7a78336fa4250fa6a04ccb5c4
* 🤖 Updates baselines for Dependency Guard
* 🤖 Updates screenshots
1 year ago
Don Turner
ef56e5a2f9
Merge pull request #1720 from android/revert-1344-main
...
Revert "Upgrade retrofit to 2.10.0"
1 year ago
Ben Weiss
729681b79a
Revert "Bump protobuf from 4.26.1 to 4.28.2 ( #1630 )"
...
This reverts commit 82b6352da1 .
1 year ago
Don Turner
9ee490322f
Revert "Bump firebaseCrashlyticsPlugin from 2.9.9 to 3.0.2 ( #1656 )"
...
This reverts commit d10c8c0c25 .
1 year ago
Don Turner
c1dfad169e
Revert "Upgrade retrofit to 2.10.0 ( #1344 )"
...
This reverts commit 9f11fe6337 .
1 year ago
dependabot[bot]
82b6352da1
Bump protobuf from 4.26.1 to 4.28.2 ( #1630 )
...
* Bump protobuf from 4.26.1 to 4.28.2
Bumps `protobuf` from 4.26.1 to 4.28.2.
Updates `com.google.protobuf:protobuf-kotlin-lite` from 4.26.1 to 4.28.2
Updates `com.google.protobuf:protoc` from 4.26.1 to 4.28.2
- [Release notes](https://github.com/protocolbuffers/protobuf/releases )
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl )
- [Commits](https://github.com/protocolbuffers/protobuf/commits )
---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-kotlin-lite
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: com.google.protobuf:protoc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* 🤖 Updates baselines for Dependency Guard
* 🤖 Updates screenshots
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ben Weiss <keyboardsurfer@users.noreply.github.com>
1 year ago