diff --git a/dsl/platform/src/main/groovy/net/neoforged/gradle/dsl/platform/util/ModuleIdentificationVisitor.groovy b/dsl/platform/src/main/groovy/net/neoforged/gradle/dsl/platform/util/ModuleIdentificationVisitor.groovy index 2bf74a757..2236e4260 100644 --- a/dsl/platform/src/main/groovy/net/neoforged/gradle/dsl/platform/util/ModuleIdentificationVisitor.groovy +++ b/dsl/platform/src/main/groovy/net/neoforged/gradle/dsl/platform/util/ModuleIdentificationVisitor.groovy @@ -41,7 +41,7 @@ abstract class ModuleIdentificationVisitor implements FileVisitor { if (!matcher.find()) { matcher = MAVEN_LOCAL_PATTERN.matcher(absolutePath); if (!matcher.find()) { - throw new IllegalStateException("The file " + file + " is not either a remove dependency or a maven local dependency!"); + throw new IllegalStateException("Cannot determine the GAV of " + file + ", since it is neither a remote nor a Maven local dependency!"); } }