Simon Marquis
32c3c3754d
updateProdReleaseBadging
...
See https://github.com/android/nowinandroid/pull/1006 for these new permissions and "Ad Services" property.
1 year ago
Simon Marquis
447386d5dc
spotless
1 year ago
Simon Marquis
382eb1e695
Firebase: Migrate to using the Kotlin extensions (KTX) APIs in the main modules
...
https://firebase.google.com/docs/android/kotlin-migration
Requirements: Firebase BoM 32.5.0, but let's update to the latest 32.6.0.
And remove warnings:
- `'logEvent(String, ParametersBuilder.() -> Unit): Unit' is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration .`
- `'param(String, String): Unit' is deprecated. Migrate to use the KTX API from the main module: https://firebase.google.com/docs/android/kotlin-migration .`
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
Simon Marquis
cf2d445362
Move Android instrumented test `ThemeTest` to unit test
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
Daniel Santiago
c908f989c8
Update to Hilt 2.48.1 and use the KSP version
...
* Moved protobuf to separate module to avoid having to wire KSP's Plugin with the Protobuf Plugin.
* `@Binds` function cannot be an extension function.
* Commented `kotlin.compiler.execution.strategy=in-process` in CI to circumvent OOMs due to increased metaspace usage.
1 year ago
Jose Alcérreca
3f22248cb7
[CI] Better caching and fewer jobs run
...
* [CI] Runs build in macos to generate a cache for androidTest runs
* Build projects before running emulator
* Fixes flaky coroutines test
* Moves spotless up in local tests job
* Enables config cache by setting problems to warn. Fixes #1022
1 year ago
Simon Marquis
13a67b96a4
Update AGP 8.1.3
1 year ago
Don Turner
5f5bd91a68
Merge pull request #1017 from mariomanhique/mariomanhique-main-dispatcher-rule-1
...
Update MainDispatcherRule.kt
1 year ago
rosariopf
221b615690
remove ACCESS_ADSERVICES permissions
1 year ago
rosariopf
b9757b3411
remove ktx import from FirebaseAnalyticsHelper.kt
1 year ago
Don Turner
f414cd482e
Merge pull request #1013 from android/av/sdkconstants-for-aapt2
...
Use SdkConstants for getting aapt2 executable location
1 year ago
Don Turner
5bdd375b8f
Merge pull request #1014 from android/av/autofix-badging-with-correct-task-name
...
Use specific task name to update badging for checking badging error message
1 year ago
Mario Manhique
b2c1c11218
Update MainDispatcherRule.kt
...
Updated MainDispatcherRule parameter accessibility to private because its only needs to be accessible inside that class.
1 year ago
Alex Vanyo
c70049edd8
Use specific task name for updating badging
...
Change-Id: I52b75fb3ed2ae3a76656c211b7aee1aa521f1112
1 year ago
Alex Vanyo
c730cf20fa
Use SdkConstants for getting aapt2 executable location
...
Change-Id: Ibc9ece0c3ade51a29954caee3af3a669ed99c384
1 year ago
Don Turner
09304e2477
Add updated badging for prodRelease variant
...
Change-Id: Ibe71c285708ffec85520a0c7852600f361ed1646
1 year ago
Don Turner
fc0a92c7b5
Merge branch 'main' into rpf-update-firebase-ktx
1 year ago
Don Turner
3ccacba0fe
Merge pull request #1012 from android/revert-1010-dt/apply-spotless-in-ci
...
Revert "Apply spotless automatically during build and commit to PR"
1 year ago
Don Turner
e695df3757
Revert "Apply spotless automatically during build and commit to PR"
1 year ago
Don Turner
89863c3f87
Fix formatting issues
...
Change-Id: Ia90a4aad72db737455b70de9b4583689d6a0e5d6
1 year ago
Don Turner
bdd6fd2da3
Remove CI changes, will fix in separate PR
...
Change-Id: I59b0f94760e99fd29ed61a29c56e2cead48b3e19
1 year ago
Don Turner
5b0f9918b6
Fix CI
...
Change-Id: Ibddc1a0635a557e4432a77f2dbb032c519bf4b5a
1 year ago
Don Turner
8798752600
Add the ref
...
Change-Id: I1fd3eb6ed0158a80511bc75d315d99d8650f5a6e
1 year ago
Don Turner
c235aa3027
Push spotless changes back to fork, rather than base repo
...
Change-Id: I45584350fe01bed54094780d3fc86b7d271d5709
1 year ago
Don Turner
a9609c8809
Merge branch 'main' into rpf-update-firebase-ktx
...
* main:
Fix action name and version
Apply spotless automatically during build and commit back to PR
Fix #1008 : Use capitalized variant name when registering gradle tasks
Change-Id: I32f6dc608179586357ed017ae35a05ca97389559
1 year ago
Don Turner
dca54fd984
Merge pull request #1010 from android/dt/apply-spotless-in-ci
...
Apply spotless automatically during build and commit to PR
1 year ago
Don Turner
58a1694334
Fix action name and version
...
Change-Id: I218dd886b3cc00ffdb05036892a11df3013198d8
1 year ago
Don Turner
be062d6c9e
Apply spotless automatically during build and commit back to PR
...
Change-Id: Id822a3179fe866ffe2bb63157e399003f1b3ae4d
1 year ago
Don Turner
59994b9af1
Merge pull request #1009 from lihenggui/main
...
Fix #1008 : Use capitalized variant name when registering badging tasks
1 year ago
lihenggui
66cb30a811
Fix #1008 : Use capitalized variant name when registering gradle tasks
1 year ago
rosariopf
5a42e1fe19
Merge branch 'main' of github.com:android/nowinandroid into rpf-update-firebase-ktx
...
# Conflicts:
# gradle/libs.versions.toml
1 year ago
rosariopf
9f26813697
upgrade to Firebase BoM 32.5.0 and drop Firebase KTX
1 year ago