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
Don Turner
c8c83d4be8
Merge pull request #1001 from android/av/badging
...
Add automatic badging verification
1 year ago
Alex Vanyo
360b33eb82
Add automatic checks for badging
...
Change-Id: Ic8fca86d7aa84675fa91fb1aa99abcc6e19d663e
1 year ago
Don Turner
15f8861da1
Merge pull request #999 from KDW03/convert-to-data-object
...
refactor/Convert object to data object in sealed interface
1 year ago
Don Turner
74ed483029
Merge pull request #987 from android/renovate/all
...
Update all dependencies
1 year ago
kimdowoo
129099e219
refactor/Convert object to data object in sealed interface
1 year ago
Don Turner
1b0852eaba
Rollback runtime tracing version to avoid pulling in new Compose runtime
...
Change-Id: Ie194b90d6bff6b738cabac6c9708f037eb18ea08
1 year ago
Don Turner
340753b2c5
Merge pull request #983 from KDW03/feature/consistent-waitAndFindObject
...
Apply consistent use of waitAndFindObject extension
1 year ago
Don Turner
f2bc315eaf
Merge pull request #899 from SimonMarquis/lint-test-detector
...
Create `TestMethodDetector` Lint to detect common naming patterns we want to avoid
1 year ago
renovate[bot]
6c8fe164c8
Update all dependencies
1 year ago
Adetunji Dahunsi
13b2747c56
Merge pull request #989 from tjmtic/now-update-800
...
Create different icons for each build variant
1 year ago
Simon Marquis
3cfe4df048
Update lint/src/main/kotlin/com/google/samples/apps/nowinandroid/lint/NiaIssueRegistry.kt
1 year ago