Skip to content

Commit 403404c

Browse files
author
Jonah Williams
authored
[gradle] fix local engine property name (#165444)
I would recommend changing the propety mock so that the properties are given as strings and not constants, otherwise you can run into problems like this where the mock does exactly what you want :)
1 parent 3d0efc2 commit 403404c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/flutter_tools/gradle/src/main/kotlin/FlutterPluginUtils.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ object FlutterPluginUtils {
1616
// Gradle properties.
1717
internal const val PROP_SHOULD_SHRINK_RESOURCES = "shrink"
1818
internal const val PROP_SPLIT_PER_ABI = "split-per-abi"
19-
internal const val PROP_LOCAL_ENGINE_REPO = "localEngineRepo"
19+
internal const val PROP_LOCAL_ENGINE_REPO = "local-engine-repo"
2020
internal const val PROP_IS_VERBOSE = "verbose"
2121
internal const val PROP_IS_FAST_START = "fast-start"
2222
internal const val PROP_TARGET = "target"
@@ -157,7 +157,7 @@ object FlutterPluginUtils {
157157
if (buildGradle.exists() && buildGradleKts.exists()) {
158158
logger.error(
159159
"""
160-
Both build.gradle and build.gradle.kts exist, so
160+
Both build.gradle and build.gradle.kts exist, so
161161
build.gradle.kts is ignored. This is likely a mistake.
162162
""".trimIndent()
163163
)

0 commit comments

Comments
 (0)