Skip to content

Integration test(s) hit "both settings.gradle and settings.gradle.kts exist" #158962

@matanlurey

Description

@matanlurey

Example where error is written (test/integration.shard/android_plugin_skip_unsupported_test.dart I think?):

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8731256906913054161/+/u/run_test.dart_for_tool_integration_tests_shard_and_subshard_2_9/stdout

Source of error:

private static File settingsGradleFile(Project project) {
File settingsGradle = new File(project.projectDir.parentFile, "settings.gradle")
File settingsGradleKts = new File(project.projectDir.parentFile, "settings.gradle.kts")
if (settingsGradle.exists() && settingsGradleKts.exists()) {
project.logger.error(
"Both settings.gradle and settings.gradle.kts exist, so " +
"settings.gradle.kts is ignored. This is likely a mistake."
)
}
return settingsGradle.exists() ? settingsGradle : settingsGradleKts
}

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: tech-debtTechnical debt, code quality, testing, etc.platform-androidAndroid applications specificallyteam-toolOwned by Flutter Tool team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions