Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix: remove baseline
  • Loading branch information
mgmix committed Apr 20, 2023
commit e6666b6b4f1a47b1d6e2d2a2b2d6133e9b5107f4
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ android {

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
Copy link
Contributor

Choose a reason for hiding this comment

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

Why this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I changed it because it was set in the build.gradle of other pacakges. Now that I think about it, it's an unrelated change, so I think I'll change it back.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Adding it is also a no-op (which is why I didn't add it when I added sourceCompatibility); the default value of targetCompatibility is sourceCompatibility's value.

Copy link
Collaborator

@stuartmorgan-g stuartmorgan-g Apr 25, 2023

Choose a reason for hiding this comment

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

Setting the record straight since I just learned that this is wrong: it's a no-op for some AGP (or maybe Gradle?) versions. For older versions leaving it out causes flutter/flutter#125482

But I'll be adding this (and enforcement that it's there) in a separate PR.

}

lintOptions {
checkAllWarnings true
warningsAsErrors true
disable 'AndroidGradlePluginVersion', 'InvalidPackage', 'GradleDependency'
baseline file("lint-baseline.xml")
}


Expand Down
246 changes: 0 additions & 246 deletions packages/local_auth/local_auth_android/android/lint-baseline.xml

This file was deleted.