Hi, apologies if this is a silly question but I seem unable to find a clear answer.
I have written a custom plugin which has been successfully uploaded as a release into my local nexus repo.
From a maven perspective it all seems to be fine. The pom looks like this
project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"><modelVersion>4.0.0</modelVersion><groupId>com.spidasolutions.gradle</groupId><artifactId>SpidaGradleBasePlugin</artifactId><version>0.1.0</version><dependencies><dependency><groupId>junit</groupId><artifactId>junit</artifactId><version>4.11</version><scope>test</scope></dependency></dependencies></project>
in my settings.gradle I have specified the repo set
in my build.gradle I am referencing the plugin
id “com.spidasolutions.gradle.SpidaGradleBasePlugin” version “0.1.0”
the build however fails saying the plugin doesnt exist. I assume I need to customise the way the artefact goes into nexus but I cant seem to find anything to help me with this
* What went wrong: 09:05:17.220 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Plugin [id: 'com.spidasolutions.gradle.SpidaGradleBase', version: '0.1.0'] was not found in any of the following sources: 09:05:17.220 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 09:05:17.220 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] - Gradle Core Plugins (plugin is not in 'org.gradle' namespace) 09:05:17.220 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] - maven(https://mynexus/nexus/repository/maven-releases) (Could not resolve plugin artifact 'com.spidasolutions.gradle.SpidaGradleBase:com.spidasolutions.gradle.SpidaGradleBase.gradle.plugin:0.1.0')
any assistance would be much appreciated.