Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ANDR][dev] Run lint on every project and apply same config everywhere #7

Merged
merged 5 commits into from
Aug 28, 2024

Conversation

murki
Copy link
Contributor

@murki murki commented Aug 27, 2024

Simplify (and make fwd compatible) the lint gradle task configuration on the gradle-test-app. Also run the same configuration in all of our artifact modules (and suppress any existing warnings).

In order to make this work we had to downgrade gradle from 8.3 --> 8.2 due to this open bug: https://issuetracker.google.com/issues/332755363

@murki murki requested a review from Augustyniak August 27, 2024 20:31
Copy link
Contributor

@Augustyniak Augustyniak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

worked for me with your changes, thanks!

@@ -1,7 +1,9 @@
plugins {
// The rust android gradle plugin needs to go first
// see: https://github.com/mozilla/rust-android-gradle/issues/147
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// see: https://github.com/mozilla/rust-android-gradle/issues/147
// see: https://github.com/mozilla/rust-android-gradle/issues/147

@@ -58,6 +62,8 @@ android {
languageVersion = "1.9"
}

// TODO(murki): Move this common configuration to a reusable buildSrc plugin once it's fully supported for kotlin DSL
// see: https://github.com/gradle/kotlin-dsl-samples/issues/1287
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// see: https://github.com/gradle/kotlin-dsl-samples/issues/1287
// see: https://github.com/gradle/kotlin-dsl-samples/issues/1287

@murki murki merged commit eef3dc8 into main Aug 28, 2024
15 checks passed
@murki murki deleted the murki/andr-lint-improvements branch August 28, 2024 01:37
@github-actions github-actions bot locked and limited conversation to collaborators Aug 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants