lihenggui
0490e014f6
Update Spotless and ktlint
1 year ago
Simon Marquis
2ba04dfd9d
🔄 ️
1 year ago
Simon Marquis
2b739c0ffe
Fix badging, which is not "stable" when it comes to ordering
1 year ago
Simon Marquis
65a8b0d3b5
dependencyGuardBaseline
1 year ago
Simon Marquis
f27a2e176e
Reduce overall build complexity
...
- Reduce the visibility of multiple Hilt `Module`s and implementations of public interfaces
- Correctly configure the visibility of dependencies:
- `api` when it's part of it's public `api`
- `implementation` when it's part of it's internal `implementation`
- Remove unnecessary dependencies in build.gradle.kts files
- Remove unnecessary dependencies provided by plugins
- Remove unnecessary applied plugins (i.e. roborazzi)
- Sort dependencies in `build.gradle.kts`
- Delete unused entries in `libs.versions.toml`
1 year ago
Simon Marquis
5f7d4ea1d5
Replace custom `RoomSchemaArgProvider` in favor of the new Room Gradle plugin
...
> Since Room 2.6.0, a Gradle plugin was released to solve various existing issues in Room regarding having inputs and outputs of schemas via Gradle annotation processor options.
> Changelog: https://developer.android.com/jetpack/androidx/releases/room#2.6.0-alpha02
See https://github.com/gradle/android-cache-fix-gradle-plugin/issues/544 for reference.
1 year ago
Simon Marquis
e305b07271
Remove unnecessary RequiresOptIn opt-in
1 year ago
Simon Marquis
02adbe0aad
Remove unnecessary FlowPreview opt-in
1 year ago
Simon Marquis
8d0a9bacd4
Update max concurrent PRs for dependabot
...
We currently have many pending updates that are not listed and the default 5 concurrent PRs is very limiting.
See documentation on https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#open-pull-requests-limit
1 year ago
Alex Vanyo
5df9cce37c
Add truth for better badging diff output
...
Change-Id: Id3fab0107bc08adf44ddf07a30e0327e06897d47
1 year ago
Adetunji Dahunsi
63bba2ede7
Merge pull request #1080 from oikvpqya/fix-scrollbar-thumb
...
Fix #1079 : Update thumb movement range by thumb size, in app scrollbars
1 year ago
Yuya
e8f4537e7c
Update thumbTrackSizePercent calculation for readability
...
Change-Id: I7ef067a950b4b5911b8c2e6a8c1f72c3e95d938d
1 year ago
Scott Stanchfield
646c9cf4de
Merge pull request #1081 from android/av/stricter-task-creation
...
Enable stricter validation for build-logic convention plugins
1 year ago
Alex Vanyo
46b0a81080
Use normal propery setting
...
Change-Id: I31aef2007b63c067ad80a9f65f2b9594d114f13a
1 year ago
Alex Vanyo
8a992996a4
Enable stricter validation for build-logic convention plugins
...
Change-Id: I1955393c76e91bebfe4b7e349734c81a10263c8c
1 year ago
Yuya
07d9877331
Update thumb movement range by thumb size, in app scrollbars
...
Change-Id: I4438debd5037965a837758e0c78b110ab8197da5
1 year ago
dependabot[bot]
9a8bfd86ed
Bump androidxMacroBenchmark from 1.2.0 to 1.2.2
...
Bumps `androidxMacroBenchmark` from 1.2.0 to 1.2.2.
Updates `androidx.benchmark:benchmark-macro-junit4` from 1.2.0 to 1.2.2
Updates `androidx.baselineprofile` from 1.2.0 to 1.2.2
---
updated-dependencies:
- dependency-name: androidx.benchmark:benchmark-macro-junit4
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: androidx.baselineprofile
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot]
b75ddce630
Bump androidx.compose.runtime:runtime-tracing
...
Bumps androidx.compose.runtime:runtime-tracing from 1.0.0-alpha03 to 1.0.0-beta01.
---
updated-dependencies:
- dependency-name: androidx.compose.runtime:runtime-tracing
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot]
b80e8a5e3f
Bump org.jetbrains.kotlinx:kotlinx-datetime from 0.4.1 to 0.5.0
...
Bumps [org.jetbrains.kotlinx:kotlinx-datetime](https://github.com/Kotlin/kotlinx-datetime ) from 0.4.1 to 0.5.0.
- [Release notes](https://github.com/Kotlin/kotlinx-datetime/releases )
- [Changelog](https://github.com/Kotlin/kotlinx-datetime/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Kotlin/kotlinx-datetime/compare/v0.4.1...v0.5.0 )
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-datetime
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot]
af26182193
Bump hilt from 2.48.1 to 2.49
...
Bumps `hilt` from 2.48.1 to 2.49.
Updates `com.google.dagger:hilt-android` from 2.48.1 to 2.49
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.48.1...dagger-2.49 )
Updates `com.google.dagger:hilt-android-testing` from 2.48.1 to 2.49
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.48.1...dagger-2.49 )
Updates `com.google.dagger:hilt-android-compiler` from 2.48.1 to 2.49
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.48.1...dagger-2.49 )
Updates `com.google.dagger.hilt.android` from 2.48.1 to 2.49
- [Release notes](https://github.com/google/dagger/releases )
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/dagger/compare/dagger-2.48.1...dagger-2.49 )
---
updated-dependencies:
- dependency-name: com.google.dagger:hilt-android
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: com.google.dagger:hilt-android-testing
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: com.google.dagger:hilt-android-compiler
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: com.google.dagger.hilt.android
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
dependabot[bot]
a96e0709d8
Bump actions/setup-java from 3 to 4
...
Bumps [actions/setup-java](https://github.com/actions/setup-java ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-java/releases )
- [Commits](https://github.com/actions/setup-java/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Jonathan Koren
b39f3f33d8
Merge pull request #893 from SimonMarquis/dependabot
...
Enable dependabot updates on a weekly basis
1 year ago
Ben Trengrove
e62d70bf5a
Merge pull request #1067 from android/ben/itemstate
...
Remove redundant mutable state in NewsFeed
1 year ago
Adetunji Dahunsi
3f400cab1f
Merge pull request #1069 from android/tj/scrollbars-typo
...
Fix typo in app scrollbars
1 year ago
dahunsi
e334a727c3
Fix typo in app scrollbars
...
Change-Id: Ie72f1410fa8e5a68a520321c34d4fad251016486
1 year ago
Ben Trengrove
3142ecb495
Remove redundant mutable state
1 year ago
Ben Trengrove
eb54ec71e9
Merge pull request #1063 from android/ben/scrollbars_perf
...
Move Scrollbar state reads out of composition
1 year ago
Ben Trengrove
22df321b9e
Apply spotless
1 year ago
Ben Trengrove
72da8e2e56
Use custom Modifier.Node instead of background
1 year ago
Ben Trengrove
d8880e98f0
Move state into a state holder and remove redundant Box
1 year ago
Ben Trengrove
01928d7df5
Move scrollbar changes out of composition
1 year ago
Jonathan Koren
a7fb019bc3
Merge pull request #1035 from jdkoren/dep_guard
...
Add dependency guard plugin
1 year ago
Simon Marquis
743ec8c081
Update Gradle 8.5
...
https://docs.gradle.org/8.5/release-notes.html
1 year ago
Jonathan Koren
6297b741e9
Record dependencies for catalog releaseRuntimeClasspath
...
Change-Id: Id74cc7f372498c4cea3fe221230d6042bfc10478
1 year ago
Jonathan Koren
392eaa3e61
Add dependencyGuard to AndroidApplicationConventionPlugin
...
Change-Id: Ib695ca18512d0ccde4c67e101f09ebbff8897912
1 year ago
Jonathan Koren
d15a203c59
Only record prodReleaseRuntimeClasspath configuration
...
Change-Id: I129fc4839ac2b4d5624c91cd25b47efba8847f44
1 year ago
Jonathan Koren
e00f7b1438
Remove empty file
...
Change-Id: Iaed9b4a68c45c1f52a2311d79b34569d20aaea62
1 year ago
Jonathan Koren
08a5796caa
Fix alphabetic ordering
...
Change-Id: Ie0779252d969b80b8c8bcea6d58c13132e20c13c
1 year ago
Jonathan Koren
d5d5e3561f
Add dependency guard plugin
1 year ago
Alex Vanyo
b3f5548fe2
Merge pull request #1047 from SimonMarquis/robolectric-4.11.1
...
Update Robolectric 4.11.1
1 year ago
Simon Marquis
caa482bc71
Kotlinify codebase
...
- Remove unnecessary nullable types
- Replace no-op method bodies with Unit
- Convert to expression body
- Replace if with when
- Remove braces from 'when' entries
- Remove braces from if statement
- Convert to single line lambda
- oneline if/returns
- Replace 'contains' call with 'in' operator
Following this refactor, it could be great to envision a more "strict" code formatter like ktlint 1.0 (we are currently stuck at 0.48.1)
1 year ago
Simon Marquis
988002e692
Update Robolectric 4.11.1
...
- https://github.com/robolectric/robolectric/releases/tag/robolectric-4.11
- https://github.com/robolectric/robolectric/releases/tag/robolectric-4.11.1
> Robolectric 4.11 adds support for Android SDK 34 (U). It also contains many bug fixes, performance improvements, and Shadow API enhancements. Robolectric 4.11 removes support for Android SDKs 18 and below.
Removing explicit API 33 Robolectric configuration.
1 year ago
Milosz Moczkowski
5087c86412
Merge pull request #1054 from android/revert-adaptive
...
Revert "Merge pull request #942 from android/feature/navigation-suite…
1 year ago
Miłosz Moczkowski
9c89e98e5b
Revert "Merge pull request #942 from android/feature/navigation-suite-scaffold"
...
This reverts commit 335a7ec68c
, reversing
changes made to aa8ce0e1f6
.
1 year ago
Milosz Moczkowski
335a7ec68c
Merge pull request #942 from android/feature/navigation-suite-scaffold
...
Replace manual navigation component switching with new NavigationSuiteScaffold
1 year ago
mmoczkowski
f365e8b782
🤖 Updates screenshots
1 year ago
Miłosz Moczkowski
816a7b60c1
Replace manual navigation component switching with new NavigationSuiteScaffold
...
Change-Id: I54b402e28b6e1bd400c9f44644bd4dd35c98e723
1 year ago
Ben Weiss
aa8ce0e1f6
Add automated baseline profile generation ( #880 )
...
Baseline profile generation is disabled for the PR level Build task. Release tasks require a fresh baseline profile. A new profile is generated using the baseline profile Gradle plugin.
* Prepare for usage of dex layout optimizations which can be actively used once NiA switches to AGP 8.2+.
* Add GMD config to release build
* Switch to macos-latest
* Update names for StartupBenchmark tests to better reflect states
* Stable release and recent GMD device
* Reduce flakiness by adding wait to benchmark
* More convenient waiting for objects
* Rename junit dependency to androidx-junit
* Only run baseline profile benchmarks during GH workflow
* Enable automatic BP generation for only release builds
* Disable BP generation from Build workflow
* Specify modules and skip benchmarking Build workflow
Bug: b/299334172
1 year ago
Don Turner
d4ef172c51
Merge pull request #1024 from SimonMarquis/patch-1
...
Update AGP 8.1.3
1 year ago
Don Turner
f3b2655e2f
Merge pull request #933 from danysantiago/main
...
Update to Hilt 2.48 and use the KSP version
1 year ago