commit | b4a0fcd22a074e54d8655c80f780627ae0da74f9 | [log] [tgz] |
---|---|---|
author | Andrey Yastrebov <andrey.yastrebov@jetbrains.com> | Thu Aug 29 16:48:05 2024 +0200 |
committer | Space Team <noreply@jetbrains.team> | Fri Aug 30 11:25:28 2024 +0000 |
tree | 5631e8605083fc9dd030d1d4733aa0217df6a100 | |
parent | 0278c8e20f293247239758e07908e09bd221eb01 [diff] |
KT-70888 Fix PI PropertiesProvider access to project.properties
diff --git a/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/plugin/PropertiesProvider.kt b/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/plugin/PropertiesProvider.kt index 3fdaf43..e985ac9 100644 --- a/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/plugin/PropertiesProvider.kt +++ b/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/plugin/PropertiesProvider.kt
@@ -594,7 +594,7 @@ private fun propertiesWithPrefix(prefix: String): Map<String, String> { val result: MutableMap<String, String> = mutableMapOf() - project.properties.forEach { (name, value) -> + project.extensions.extraProperties.properties.forEach { (name, value) -> if (name.startsWith(prefix) && value is String) { result[name] = value }