Simon Marquis
8ea9a8fa51
Android Lint improvements
...
- Create `LintConventionPlugin` to configure Lint on all compatible modules: Android applications, Android libraries and JVM modules.
- Run `lintProdRelease` in CI instead of the default `lintDemoDebug` which is less important compared to production code.
- Rearrange CI steps to make it more clear that Lint should is an additional step after build (build -> test -> lint).
- Enable SARIF support and upload results to GitHub's CodeQL to get inline feedback on PRs.
If we really need better perfs, we could restore `lint.checkDependencies = true` on the `:app` module and only execute `:app:lintProdRelease`.
But in practice, this does not change the total build time on this project.
2 years ago
Ale Stamato
0c8457099d
Merge pull request #733 from android/stamato/clicks-notification-dialog
...
Grant `permission.POST_NOTIFICATIONS` in Macrobenchmark tests
2 years ago
Adetunji Dahunsi
f914254414
Merge pull request #749 from android/tj/reactive-only-dao
...
Ensure DAO exposes only reactive types
2 years ago
Milosz Moczkowski
d3e7ab92e9
Merge pull request #751 from android/st/document-compiler-metrics-command
...
Added Compose compiler metrics generation command to README.md
2 years ago
Don Turner
29394467f1
Merge pull request #750 from android/tidy/scopes
...
Add general application scope, use IO dispatcher for DataStore
2 years ago
Alex Vanyo
d4d471f1c9
Merge pull request #747 from SimonMarquis/patch-4
...
Remove benchmark androidTest task exclusion
2 years ago
Don Turner
d319264ef0
Provide Default dispatcher for instrumented tests
...
Change-Id: I488a9b9d9d3864ce9496614ab35332ec19d06bcc
2 years ago
Alejandra Stamato
96c7ada651
Added Compose compiler metrics generation command to README.md
2 years ago
Alejandra Stamato
c64cf13b4e
Added Compose compiler metrics generation command to README.md
2 years ago
Alejandra Stamato
49c8ce700e
Fixing ScrollForYouFeedBenchmark
...
Co-authored-by: Simon Marquis <contact@simon-marquis.fr>
2 years ago
Don Turner
b245334a18
Updating TestDataStoreModule to use ApplicationScope
2 years ago
TJ Dahunsi
dcc36b0228
Fix tests
...
Change-Id: Ie6b62071d2023e3a7ffe1553ab606e3f6b386a5e
2 years ago
Don Turner
4cdb5963a0
Add top level application scope, use IO dispatcher for DataStore
...
Change-Id: I1512b1665587c73abd5e8a78aa9abd3eed24ab79
2 years ago
TJ Dahunsi
cd6ad7d575
Ensure DAO exposes only reactive types
...
Change-Id: I8992ccf6525cd4c5ea9503d532b500e4d310b7fb
2 years ago
Vixb
01e5a68a8d
Replace NiaTopLevelNavigation with TopLevelDestination based on #186 ( #723 )
...
* Replace NiaTopLevelNavigation with TopLevelDestination based on #186
* Update ModularizationLearningJourney.md
2 years ago
Simon Marquis
ae50f3d332
Remove benchmark androidTest task exclusion
...
Task `:benchmark:connectedDemoBenchmarkAndroidTest` is not part of the `connectedDemoDebugAndroidTest` task graph and can therefore safely be removed.
2 years ago
Don Turner
a03307e14d
Merge pull request #738 from SimonMarquis/patch-5
...
Grant `POST_NOTIFICATIONS` permission in instrumented tests
2 years ago
Don Turner
f87e769b7d
Merge pull request #681 from SimonMarquis/di/coroutine-scope
...
Add Application-wide `CoroutineScope` in the DI graph
2 years ago
Don Turner
b91773d053
Merge pull request #736 from SimonMarquis/patch-3
...
chore(deps): update android-gradleplugin to v8.0.1
2 years ago
Don Turner
fa2ae96625
Merge pull request #737 from SimonMarquis/patch-4
...
Update `BookmarksGrid` horizontal spacing to fix #732
2 years ago
Don Turner
0158bff856
Merge pull request #739 from SimonMarquis/patch-6
...
Update benchmarks module minSdk to 28
2 years ago
Don Turner
5b5707831c
Merge pull request #695 from SimonMarquis/ci/androidTest-GMD
...
Improve `androidTest` step of `AndroidCIWithGmd` worflow by pre-packaging apps before spawning the emulator
2 years ago
Don Turner
ec2471c842
Merge pull request #710 from SimonMarquis/SimonMarquis-patch-1
...
Add missing steps in `AndroidCIWithGmd.yaml`
2 years ago
Simon Marquis
a93cce92f7
Update ForYouScreenTest.kt
2 years ago
Simon Marquis
69879ff874
Grant permission only if TIRAMISU or above
2 years ago
Simon Marquis
a605ab1727
Update benchmarks module minSdk to 28
...
Call requires API level 24:
- `CompilationMode` sealed class
Calls requires API level 28:
- `BaselineProfileRule()`
- `baselineProfileRule.collectBaselineProfile(PACKAGE_NAME)`
2 years ago
Simon Marquis
331e8cffac
Grant `POST_NOTIFICATIONS` permission in instrumented tests
2 years ago
Simon Marquis
d6ba65c77f
Update `BookmarksGrid` horizontal spacing to fix #732
2 years ago
Simon Marquis
627ccd939d
chore(deps): update android-gradleplugin to v8.0.1
2 years ago
Milosz Moczkowski
d209105955
Merge pull request #730 from android/refactor/oss_licenses_plugin
...
Replace hardcoded license file with OSS licenses plugin
2 years ago
Miłosz Moczkowski
f809142cb2
Add missing appcompat dependency
...
Change-Id: I6192623d21986962c17204720fa1a1778b773b56
2 years ago
Miłosz Moczkowski
13f1f8d096
Exclude transient appcompat dependency
...
Change-Id: Ifdd7e34192c5db8598c42f67088ac292b38ee3e2
2 years ago
Miłosz Moczkowski
c7c2bb04aa
Spotless apply
...
Change-Id: I773059a755bebf99af30a71fd44aa12e58f46b23
2 years ago
Miłosz Moczkowski
fc3d0ced20
Replace hardcoded license file with OSS licenses plugin
...
Change-Id: I4427fd5d7b7abd8a2912a41f61ffedfac4af9d6a
2 years ago
Neelansh Sahai
bbdc62cbf4
Merge pull request #706 from gururani-abhishek/remove-onItemClick-parameter
...
fix #614 : removed unused onItemClick parameter from NewsResourceCardList.kt
2 years ago
Neelansh Sahai
02bf1ac230
Merge pull request #725 from tsumuchan/main
...
Clarify dependencies of the included build-logic
2 years ago
Don Turner
e4d539e1d1
Merge pull request #731 from android/av/adjust-jdk
...
Adjust JDK setup to remove toolchain
2 years ago
Alex Vanyo
76b0b08121
Adjust JDK setup to remove toolchain
...
Change-Id: Ie0f43cb8f0fe504ed3e98ef35703949959688699
2 years ago
Milosz Moczkowski
5f49c6ae25
Merge pull request #568 from vishesh211/vishesh211/bug-534-interests-multiple-click
...
Interests multiple click
2 years ago
tsumuchan
e1025d8363
Update gradle plugin naming
2 years ago
tsumuchan
831b766ec2
Clarify dependencies of the included build-logic
2 years ago
vishesh211
827248615b
remove application from build.gradle.kts
2 years ago
Milosz Moczkowski
88b9e023d0
Merge pull request #692 from android/av/fix-jvm-target-comment
...
Fix JVM target comment
2 years ago
Milosz Moczkowski
9985bb95e5
Merge pull request #620 from daryeou/main
...
Remove unused datastore-preferences library from versions.toml
2 years ago
Milosz Moczkowski
e38e24eee9
Merge pull request #583 from SimonMarquis/jvmToolchain
...
Configure jvmToolchain for Android and Kotlin projects
2 years ago
Adetunji Dahunsi
ba1d9e14df
Merge pull request #716 from SimonMarquis/SimonMarquis-patch-3
...
Simplify handling of nullability in `ConnectivityManagerNetworkMonitor`
2 years ago
Don Turner
a4eab289df
Merge pull request #719 from android/add-search-analytics
...
Add analytics for search queries
2 years ago
Don Turner
aae307ee08
Fix spotless
...
Change-Id: I84da36ba957cb74f9fb4479e81d714c2d8928a01
2 years ago
Don Turner
6343b831b9
Use NoOpAnalyticsHelper for tests
...
Change-Id: I44657037f8f7ec6e38bcc3901e235ceab8c71237
2 years ago
Don Turner
2dd36e3de0
Merge pull request #720 from android/jr/mark-read-first-sync
...
Mark all news resources read on first sync
2 years ago