From 43317898948a4b8b8b605e09802a9c3c20a10e9a Mon Sep 17 00:00:00 2001 From: James Daugherty Date: Fri, 13 Dec 2024 15:41:43 -0500 Subject: [PATCH] Comment out validation for now --- .../gradle/plugin/publishing/GrailsPublishGradlePlugin.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/groovy/org/grails/gradle/plugin/publishing/GrailsPublishGradlePlugin.groovy b/src/main/groovy/org/grails/gradle/plugin/publishing/GrailsPublishGradlePlugin.groovy index 7ea8f06d..dc224a69 100644 --- a/src/main/groovy/org/grails/gradle/plugin/publishing/GrailsPublishGradlePlugin.groovy +++ b/src/main/groovy/org/grails/gradle/plugin/publishing/GrailsPublishGradlePlugin.groovy @@ -204,7 +204,8 @@ Note: if project properties are used, the properties must be defined prior to ap } if (!mavenPublishUrl) { - throw new RuntimeException('Could not locate a project property of `mavenPublishUrl` or an environment variable of `MAVEN_PUBLISH_URL`. A URL is required for maven publishing.') + // TODO: Need to only apply this when trying to publish + // throw new RuntimeException('Could not locate a project property of `mavenPublishUrl` or an environment variable of `MAVEN_PUBLISH_URL`. A URL is required for maven publishing.') } url = mavenPublishUrl