mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
[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 :)
This commit is contained in:
parent
3d0efc2706
commit
403404ccd1
@ -16,7 +16,7 @@ object FlutterPluginUtils {
|
||||
// Gradle properties.
|
||||
internal const val PROP_SHOULD_SHRINK_RESOURCES = "shrink"
|
||||
internal const val PROP_SPLIT_PER_ABI = "split-per-abi"
|
||||
internal const val PROP_LOCAL_ENGINE_REPO = "localEngineRepo"
|
||||
internal const val PROP_LOCAL_ENGINE_REPO = "local-engine-repo"
|
||||
internal const val PROP_IS_VERBOSE = "verbose"
|
||||
internal const val PROP_IS_FAST_START = "fast-start"
|
||||
internal const val PROP_TARGET = "target"
|
||||
@ -157,7 +157,7 @@ object FlutterPluginUtils {
|
||||
if (buildGradle.exists() && buildGradleKts.exists()) {
|
||||
logger.error(
|
||||
"""
|
||||
Both build.gradle and build.gradle.kts exist, so
|
||||
Both build.gradle and build.gradle.kts exist, so
|
||||
build.gradle.kts is ignored. This is likely a mistake.
|
||||
""".trimIndent()
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user