From 43e24c6f3195b2b7e557b3d11f21ed4d62d95373 Mon Sep 17 00:00:00 2001 From: Adam <897017+aSemy@users.noreply.github.com> Date: Mon, 21 Sep 2026 11:27:22 +0200 Subject: [PATCH] Fix string interpolation in project name check --- .../kotlin/nmcp/internal/DefaultNmcpAggregationExtension.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmcp/src/main/kotlin/nmcp/internal/DefaultNmcpAggregationExtension.kt b/nmcp/src/main/kotlin/nmcp/internal/DefaultNmcpAggregationExtension.kt index 8f386bb..4374d27 100644 --- a/nmcp/src/main/kotlin/nmcp/internal/DefaultNmcpAggregationExtension.kt +++ b/nmcp/src/main/kotlin/nmcp/internal/DefaultNmcpAggregationExtension.kt @@ -67,7 +67,7 @@ internal abstract class DefaultNmcpAggregationExtension(private val project: Pro project.allprojects { check(!allNames.contains(it.name.lowercase())) { """ - Nmcp: some projects have the same name: '${'$'}{it.name}'. This creates issues when resolving the aggregation. + Nmcp: some projects have the same name: '${it.name}'. This creates issues when resolving the aggregation. You can usually resolve this error by renaming your projects (including possibly your root project). Or you can disable this check by calling `allowDuplicateProjectNames.set(true)`. See https://github.com/gradle/gradle/issues/36167 for more details.