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
e31481fd0b
Merge upstream android/nowinandroid pre-Navigation3 changes (up to d438a007)
3 months ago
Mercury Li
075ba1a3b6
Fix remaining androidTest regressions in topic and sync work tests
...
Update KMP string resource usage in TopicScreenTest, restore lifecycle-based undo clearing in bookmarks, and stabilize SyncWorkerTest to validate startup request configuration without depending on runtime Koin initialization.
Co-authored-by: Cursor <cursoragent@cursor.com>
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
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 months ago
Simon Marquis
17162dab60
graphUpdate
7 months ago
Simon Marquis
1c61be7b7b
Update color mapping
...
| Type | Plugin ID | Color |
|-------------|------------------------------------|------------------------|
| Application | `nowinandroid.android.application` | `#CAFFBF` PastelGreen |
| Feature | `nowinandroid.android.feature` | `#FFD6A5` PastelOrange |
| Library | `nowinandroid.android.library` | `#9BF6FF` PastelBlue |
| Test | `nowinandroid.android.test` | `#A0C4FF` PastelMauve |
| JVM | `nowinandroid.jvm.library` | `#BDB2FF` PastelPurple |
| Unknown | `?` | `#FFADAD` PastelRed |
8 months ago
Simon Marquis
e8dc43b58b
graphUpdate
8 months ago
Simon Marquis
e079e68815
Delete old graphs
8 months ago
lihenggui
0c691b9676
Merge remote-tracking branch 'upstream/main'
1 year ago
hiroaki404
5b99313ae5
fix typo
...
Change-Id: I65dcde81c68c24bfd58f0b66c6ed826e802aff67
1 year ago
hiroaki404
8bb823ede7
use backgroundScope
...
Change-Id: I78d5e53d343dac7e7d27896c95714a53a9a7229a
1 year ago
nosho.hiroaki
94f86b7975
fix test name and typo, and user assertion instead of check method
...
Change-Id: I45e04df676fe9f5e5e893a1fc6e8f54e9e7d7a1a
1 year ago
nosho.hiroaki
d372d6ecec
improve BookmarksViewModelTest coverage
...
Change-Id: Ide13abd9a125a337ba9c9fff2136221e16ebd46e
1 year ago
lihenggui
a87dcda7eb
Merge remote-tracking branch 'upstream/main'
1 year ago
blue928sky
bf54ccc760
feat: use androidx.lifecycle.compose.LocalLifecycleOwner
...
Change-Id: If0a414ee4d5aab277fb90343ba7d5aa6a9dbd2e8
1 year ago
lihenggui
ccd7d292d2
Spotless
2 years ago
lihenggui
528ee11110
Add material 3 adaptive dependencies and fix compilation errors
2 years ago
lihenggui
539d36fb0b
WIP: Move app to use compose multiplatform
2 years ago
lihenggui
7b0d1bea22
Migrate bookmarks module to multiplatform
2 years ago
lihenggui
a928d2d724
Spotless
2 years ago
lihenggui
d5f9b10f99
Merge remote-tracking branch 'upstream/main'
2 years ago
lihenggui
5e2ac48e19
Merge remote-tracking branch 'upstream/main'
2 years ago
saeedishayan76
26dd4424f6
remove blank lines for resolve spotless error
2 years ago
saeedishayan76
0356b873e9
change collectJob to backgroundScope coroutine
2 years ago
Don Turner
00efda54e8
Merge branch 'main' into dt/nav-safe-args
...
* main: (58 commits)
Instrumented tests for InterestsListDetailScreen (#1518 )
Remove Firebase AD_SERVICE_CONFIG property
updateProdReleaseBadging
Merge Android & JVM plugins into a single `HiltConventionPlugin`
Update dependency guard
🤖 Updates baselines for Dependency Guard
Update to Lifecycle 2.8.3
Add android.adservices.AD_SERVICES_CONFIG to badges
Apply suggestions from code review
Update app/src/main/AndroidManifest.xml
generateModuleGraphs
dependencyGuardBaseline
updateProdReleaseBadging
Fix spotless.
Change set to `=` operator
Cleanup unused reference in `libs.versions.toml`
Regenerate SVG graphs
Update comment wording
Use stdin to avoid repeating the output file name
Replace bash commands with proper svgo cli
...
Change-Id: I1d804dcb6ac0ca857cb303b8c8bff5704b5d27a5
2 years ago
lihenggui
32918f929b
Merge remote-tracking branch 'upstream/main'
2 years ago
lihenggui
392050cee0
Fix compilation errors in androidInstrumentedTest
2 years ago
lihenggui
f0c58bc83b
Move compose declaration to build script
2 years ago
lihenggui
9420c0c770
Use @Dispatcher to distinguish different dispatchers
2 years ago
lihenggui
75bed25ebd
Spotless
2 years ago
lihenggui
5ba50fc325
Temp remove implementations for viewmodels
2 years ago
lihenggui
6d05ba133e
Migrate bookmarks to multiplatform module
2 years ago
Don Turner
da8f32a2ea
Rename Destinations to Routes
...
Change-Id: Ie9120031fc3738d0640c922624f15db0e15417d7
2 years ago
Don Turner
924391cd22
Fix spotless
...
Change-Id: I7dcd7fa9544c873edeb8270f8d89b3bcb7211428
2 years ago
Don Turner
89163b5ea1
Migrate remainder of app to type-safe navigation
...
Change-Id: I02a8efb46695b3a90701966bfea4ed76aeec131b
2 years ago
Simon Marquis
930e061611
Cleanup dependencies
...
This is a followup cleanup of #1163 that was partially addressed by #1140 .
- Remove unused `projects.core.testing` dependencies (or replace with direct dependencies).
- Introduce `androidx.compose.ui.test` bundle.
- Remove `NiaTestRunner` from the default config, forcing consumers to depend on it, even when not used.
2 years ago
Alex Vanyo
78c77737c0
Merge pull request #1275 from Jaehwa-Noh/rename-function
...
Rename function to setNewsResourceBookmarked
2 years ago
Don Turner
a5025390af
Add title to READMEs to describe the dependency graph
...
Change-Id: Ifb4b44e67df53ddd8ed048122c6c12a904e61528
2 years ago
Jaehwa Noh
ee4320723f
Fix typo.
...
Change-Id: Id3aed2e3c54660fbbb42bc0c08dea68de0d5230f
2 years ago
Jaehwa Noh
ed91723e2f
Fix #1270
...
Change-Id: Id9774ad300b04c17cb1d7668c1ab1bac014bf70c
2 years ago
Don Turner
80a82de945
Update module dependency graphs and add script to create them
...
Change-Id: I7b2ae264ec84491c847a44869934e2f238564c31
2 years ago
Don Turner
2ad48843f6
Fix formatting
...
Change-Id: I674d32bc0f1921c431717dbf0f41a74f632322b3
2 years ago
Don Turner
254b464259
Update Lifecycle to 2.7.0. Use new LifecycleEventEffect.
...
Change-Id: I71e7aa521f22499fd3f3e9f3ac7c81658f3abc3a
2 years ago
Don Turner
707117a4f2
Merge branch 'main' into kotlinify
2 years ago
Don Turner
0f0511748e
Merge pull request #1088 from SimonMarquis/cleanup-dependencies
...
Reduce overall build complexity
2 years ago
Don Turner
89d39a7242
Merge pull request #767 from SimonMarquis/resource-prefix
...
Enforce `resourcePrefix` on Android library modules
2 years ago
Simon Marquis
6cd5958665
Update feature/bookmarks/src/main/kotlin/com/google/samples/apps/nowinandroid/feature/bookmarks/navigation/BookmarksNavigation.kt
2 years ago
Don Turner
9d41ffa318
Merge branch 'main' into kotlinify
2 years ago
lihenggui
32e1ec0447
Remove violations: property-naming
2 years ago