You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: nmcp/src/main/kotlin/nmcp/internal/DefaultNmcpAggregationExtension.kt
+13-5Lines changed: 13 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -52,12 +52,18 @@ internal abstract class DefaultNmcpAggregationExtension(private val project: Pro
52
52
53
53
project.afterEvaluate {
54
54
val allNames = mutableSetOf<String>()
55
-
project.allprojects {
56
-
check (!allNames.contains(it.name.lowercase())) {
57
-
"Nmcp: duplicate project name: '${it.name}'. This is usually resolved by setting your root project name in your settings.gradle[.kts] file: `rootProject.name = \"\${someUniqueName}\". "+
58
-
"See https://github.com/gradle/gradle/issues/36167 for more details"
0 commit comments