When updating org.apache.grails.gradle:grails-publish to 1.0.0-SNAPSHOT, the Gradle build fails during initialization with an error like:
Error resolving plugin [id: 'com.gradle.develocity', version: '4.3.2']
> Could not resolve all artifacts for configuration 'classpath'.
> Could not find org.apache.grails.gradle:grails-publish:1.0.0-SNAPSHOT.
Searched in the following locations:
- https://plugins.gradle.org/m2/org/apache/grails/gradle/grails-publish/1.0.0-SNAPSHOT/maven-metadata.xml
- https://plugins.gradle.org/m2/org/apache/grails/gradle/grails-publish/1.0.0-SNAPSHOT/grails-publish-1.0.0-SNAPSHOT.pom
Required by:
settings file 'grails-gradle/settings.gradle' > project :build-logic-root:build-logic
The problem is not that the artifact is missing, but that the repository is configured too late in the bootstrap sequence.
When updating
org.apache.grails.gradle:grails-publishto1.0.0-SNAPSHOT, the Gradle build fails during initialization with an error like:The problem is not that the artifact is missing, but that the repository is configured too late in the bootstrap sequence.