Don Turner
a152149dc5
Merge pull request #1947 from Jaehwa-Noh/gradle-to-gradle-api
...
Replace gradle to gradle-api.
3 days ago
Aurimas Liutikas
4d45004820
Upgrade to latest stable AGP 8.12.2
...
- Upgrades to a newer version of compose bom that pulls in newer
versions of lint checks that work with AGP 8.12.2
- Bump the minSdk to 23 because compose now requires minSdk 23
- Update Navigation_fontScale2.png due to compose upgrade
- Clean up BuildConfig set up since we already use Gradle 9.0.0
Test: ./gradlew build
1 week ago
Jaehwa Noh
17100a4119
Replace gradle to gradle-api.
...
Should use `gradle-api`.
https://developer.android.com/build/releases/gradle-plugin-roadmap#agp-10
Change-Id: If1c4869eb57ef3d3e1834c57768b90e5d6967f10
2 weeks ago
Aurimas Liutikas
7ff1913855
Fixes host test tasks that were accidentally attemping to run
...
Gradle 9.0.0 has the new enforcement that Test task runs that
have sources but no tests run should fail. Without this change we get
Execution failed for task ':core:analytics:testDemoDebugUnitTest'.
> There are test sources present and no filters are applied, but the test task did not discover any tests to execute. This is likely due to a misconfiguration. Please check your test configuration. If this is not a misconfiguration, this error can be disabled by setting the 'failOnNoDiscoveredTests' property to false.
We get this because before this change AndroidCompose was always setting
isIncludeAndroidResources = true which generates a source to the test
task and in the case of :core:analytics it is the only source.
Instead of setting isIncludeAndroidResources in AndroidCompose move to
setting it in relevant build.gradle.kts files (most already had it)
4 weeks ago
Aurimas Liutikas
aa565cba5f
Remove Gradle Isolated Project violation
...
Calls to Project.properties is not Gradle Isolated Projects safe as it
causes Gradle to look through parent projects to find these. Move to
using providers.gradleProperty as that does not have the same behavior.
Test: ./gradlew build --dry-run -Dorg.gradle.unsafe.isolated-projects=true
fewer warnings after the PR
6 months ago
Jaehwa Noh
85cc2921ec
Follow kotlin dsl without type-safe documentation on plugins
...
https://docs.gradle.org/current/userguide/kotlin_dsl.html#ex-configuring-plugins-without-type-safe-accessors
Change-Id: I194844ace17cc2bfa2c80bcc4a338bccfd050a9e
8 months ago
Simon Marquis
e5f1b842ee
Gradle Configuration Cache on CI
...
- https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#saving-configuration-cache-data
- https://docs.gradle.org/current/userguide/configuration_cache.html#config_cache:secrets
And enable parallel Configuration Cache:
- https://docs.gradle.org/current/userguide/configuration_cache.html#config_cache:usage:parallel
This needs a `GRADLE_ENCRYPTION_KEY` secret to be configured in the repository [settings/secrets/actions](https://github.com/android/nowinandroid/settings/secrets/actions ), otherwise no configuration cache will be saved or restored.
As explained in the docs, you can use this tool to generate a configuration-cache compatible key: `openssl rand -base64 16`.
9 months ago
Don Turner
af9631e80c
Merge pull request #1765 from SimonMarquis/patch-5
...
Replace deprecated `stabilityConfigurationFile` with `stabilityConfigurationFiles`
9 months ago
Simon Marquis
042cb7690d
Restore initial function call
9 months ago
Don Turner
992054b35f
Merge pull request #1662 from baksha97/patch-1
...
Fix TODO: Collect all java and kotlin source directories from the variant's source sets
9 months ago
Don Turner
1d67facf6f
Merge pull request #1532 from Jaehwa-Noh/refactor-flavor-diemsion
...
Refactor to improve `FlavorDimension` extensibility
9 months ago
Don Turner
f66fd84f92
Merge pull request #1739 from Jaehwa-Noh/without-type-safe
...
Followed Kotlin DSL without type-safe accessors documentation
9 months ago
Simon Marquis
2a180f9d49
Use lambda syntax
9 months ago
Simon Marquis
454e7b6e64
Replace deprecated `stabilityConfigurationFile` with `stabilityConfigurationFiles`
...
https://kotlinlang.org/api/kotlin-gradle-plugin/compose-compiler-gradle-plugin/org.jetbrains.kotlin.compose.compiler.gradle/-compose-compiler-gradle-plugin-extension/stability-configuration-file.html
9 months ago
Simon Marquis
c54b1dd0cf
Replace deprecated `KotlinTopLevelExtension` with `KotlinBaseExtension`
...
https://kotlinlang.org/docs/compatibility-guide-21.html#deprecate-kotlintoplevelextension-and-kotlintoplevelextensionconfig-interfaces
9 months ago
Alex Vanyo
e4681fce31
Add androidx.lint:lint-gradle to build-logic
...
Change-Id: I95a0e1f5ae5d78d3725ab20031fe268515a50153
9 months ago
Jaehwa Noh
cf2db95db0
Restore into a plain String text.
...
Change-Id: I3f4ead0be88ed460de007dae7b53c4d2f6c2249b
9 months ago
Jaehwa Noh
f422b8539e
Remove StringSources.kt
...
Change-Id: I17972f94277364cd588f40d422370b21e40af0e9
9 months ago
Alfayed Baksh
f925bfc01c
fix: remove operator fun for simplicity
9 months ago
Don Turner
4277366b7c
Merge pull request #1729 from takahirom/takahirom/update-sdk-35/2024-12-11
...
Update SDK 35 with Theme Fixing
9 months ago
Don Turner
665fe9ff4a
Merge pull request #1528 from davidburstrom/main-single-source-of-plugin-ids
...
Use the version catalog as the source of truth for plugin IDs
9 months ago
Alfayed Baksh
3271208515
ergonomics
9 months ago
Alfayed Baksh
192a3a6e8a
rename fun
9 months ago
Alfayed Baksh
7d45a7c179
fix: rename
9 months ago
Alfayed Baksh
ffcd7d9581
fix: code cleanup
9 months ago
Alfayed Baksh
27f548fec5
fix: lazy query for task
9 months ago
Alfayed Baksh
f1bfe34786
nullability
9 months ago
Alfayed Baksh
c4cb8bc407
fix: compiler error
9 months ago
Jaehwa Noh
18e35c27f6
Followed Kotlin DSL without type-safe accessors.
...
https://docs.gradle.org/current/userguide/kotlin_dsl.html#ex-configuring-plugins-without-type-safe-accessors
Change-Id: Id711ad25146e291cbae40a5df4251f0ffef7b0a6
9 months ago
Jaehwa Noh
3009cdf081
Create Const value of `String`.
...
Change-Id: I8fa1a79ea71578395a4ce861ff883f8f6f01cdd0
9 months ago
Alex Vanyo
b2b32e3ae7
Replace aapt2 executable with lazy property
...
Fixes #1677
Change-Id: Ic3ff5d8d54c607444c64fcd60671092344a726d7
9 months ago
David Burström
6a49ba5fda
Use the version catalog as the source of truth for plugin IDs
...
The IDs stated in the build-logic build script must exactly match the plugin
IDs in the version catalog file. This solution reduces the inherent
duplication.
To avoid any IDE errors about missing plugin accessors when adding new plugins
to the build-logic script, it's recommended to add the new ID in the version
catalog first, then invoke Gradle (sync) in order to generate the accessor
classes.
9 months ago
Simon Marquis
9e42080bf5
Disable `GradleDependency` Lint warning
...
See #921
9 months ago
Don Turner
57d98cc2e2
Merge pull request #921 from SimonMarquis/sarif
...
Enable SARIF support on GitHub Actions
9 months ago
Jaehwa Noh
81e7ef0a05
Replace Annotation to compiler args. ( #1602 )
...
Change-Id: I691fc0f14d4bb2c62224dc77a5d0f3a08b59a75b
9 months ago
takahirom
e0f30acddd
Target SDK 35
9 months ago
Ben Weiss
4a0723441f
Dependency version upgrades, not API 35 yet ( #1719 )
...
* Update screenshots
Change-Id: Ibed7889a3389ab6044e00a185158f36ce857b6b2
* Dependency version upgrades
Change-Id: Ib4a1f9bef1dd3e1736907479125d0abb5b22e9bd
* Address review comments
Change-Id: Ia2c6a52e289285a7a78336fa4250fa6a04ccb5c4
* 🤖 Updates baselines for Dependency Guard
* 🤖 Updates screenshots
9 months ago
Simon Marquis
085347e5e2
Merge branch 'main' into sarif
9 months ago
sanao
ab87857c9b
[Refactor]: Replace enableAndroidTest with androidTest.enable ( #1274 )
...
This is because enableAndroidTest is deprecated.
Fixes #1272
9 months ago
Zongle Wang
55dbe61c65
Optimize google maven downloading ( #1051 )
9 months ago
Jaehwa Noh
1d659b0eea
Replace kotlin("test") to version catalog `kotlin.test`.
...
Change-Id: Ifd7de5dda724102063a9df660cacc6d6b16699e0
10 months ago
Don Turner
6bb75909fe
Merge pull request #1667 from SimonMarquis/patch-2
...
[Fix] Add missing unit test dependency for JVM modules
10 months ago
Jaehwa Noh
489aebf629
Fix duplicated implementation of hilt. ( #1570 )
...
Change-Id: I82c2e06b594297cdae7009ee5e87162d0295eb7c
11 months ago
Simon Marquis
eae51a6df9
[Fix] Add missing unit test dependency for JVM modules
...
`:core:common` module would not be able to run its unit test: `:core:common:test`
Related to: #1546
11 months ago
Alfayed Baksh
8b199c134d
Update Jacoco.kt
11 months ago
cketti
20a42241e7
Use invariant locale when capitalizing Gradle task names
11 months ago
Alex Vanyo
5a382e3a45
Merge pull request #1593 from Jaehwa-Noh/remove-enable-strong-skip
...
Remove deprecated enableStrongSkippingMode
1 year ago
Don Turner
206d2c42d0
Merge pull request #1547 from SimonMarquis/gradle-8.9
...
Update Gradle Wrapper from 8.7 to 8.10
1 year ago
Jaehwa Noh
cc15e40877
Remove enableStrongSkippingMode.
...
https://kotlinlang.org/docs/whatsnew2020.html#strong-skipping-mode-enabled-by-default
Change-Id: I7b97ba1e593e7e852d690f59d59dd94d0107743f
1 year 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
1 year ago