Skip to content

Commit ce144cc

Browse files
authored
Add an ignore problems file for webernecht compatibility problem (#8593)
Follow up to #8590 This seems at least better than ignoring compatibility problems entirely.
1 parent d83bf64 commit ce144cc

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

build.gradle.kts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ intellijPlatform {
274274
// TODO(team) Ideally all of the following FailureLevels should be enabled:
275275
// https://github.com/flutter/flutter-intellij/issues/8361
276276
VerifyPluginTask.FailureLevel.COMPATIBILITY_WARNINGS,
277-
// VerifyPluginTask.FailureLevel.COMPATIBILITY_PROBLEMS,
277+
VerifyPluginTask.FailureLevel.COMPATIBILITY_PROBLEMS,
278278
// VerifyPluginTask.FailureLevel.DEPRECATED_API_USAGES, // https://github.com/flutter/flutter-intellij/issues/7718
279279
// VerifyPluginTask.FailureLevel.SCHEDULED_FOR_REMOVAL_API_USAGES,
280280
// `BadgeIcon`:
@@ -289,6 +289,7 @@ intellijPlatform {
289289
)
290290
verificationReportsFormats = VerifyPluginTask.VerificationReportsFormats.ALL
291291
subsystemsToCheck = VerifyPluginTask.Subsystems.ALL
292+
ignoredProblemsFile.set(project.file("verify-ignore-problems.txt"))
292293

293294
ides {
294295
recommended()
@@ -416,4 +417,5 @@ tasks.withType<ProcessResources>().configureEach {
416417
// The context here is unambiguously the task itself.
417418
exclude("jxbrowser/jxbrowser.properties")
418419
}
419-
}
420+
}
421+

third_party/lib/weberknecht-0.1.5.jar

Whitespace-only changes.

verify-ignore-problems.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# This is a known false positive. The de.roderick.weberknecht package is provided
2+
# by the Dart plugin at runtime, but the verifier's static analysis of
3+
# class loader visibility is flawed in this case.
4+
# See more context in https://github.com/flutter/flutter-intellij/pull/8590
5+
::Package 'de.roderick' is not found.*
6+

0 commit comments

Comments
 (0)