Skip to content
Permalink
Browse files

Gradle: Update the namespace check for plugins

It seems that the Kotlin DSL behavior has changed at some point and core
plugins now report "org.gradle" instead of null as their namespace.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
  • Loading branch information...
sschuberth committed May 29, 2019
1 parent a567f09 commit c2ebd7e7898bab46f3a9032aa92444191f39d4b8
Showing with 1 addition and 1 deletion.
  1. +1 −1 settings.gradle.kts
@@ -2,7 +2,7 @@ pluginManagement {
resolutionStrategy {
eachPlugin {
// Work around https://github.com/gradle/gradle/issues/1697.
if (requested.id.namespace != null && requested.version == null) {
if (requested.id.namespace != "org.gradle" && requested.version == null) {
val versionPropertyName = if (requested.id.id == "org.jetbrains.kotlin.jvm") {
"kotlinPluginVersion"
} else {

0 comments on commit c2ebd7e

Please sign in to comment.
You can’t perform that action at this time.