This message was deleted.
# plugin-development
s
This message was deleted.
a
For reference here's my
build.gradle.kts
I can use this to publish to maven local and via setting the project name to be
rootProject.name = "gitlab-publish.gradle.plugin"
this puts everything in what appears to be the right directory when published to maven local. But when I try to use the plugin
id("gitlab-publish") version "1.0-SNAPSHOT"
it says it can't be found.
Copy code
Build file '/home/arimil/Development/gitlab-publish/build.gradle.kts' line: 6

Plugin [id: 'gitlab-publish', version: '1.0-SNAPSHOT'] was not found in any of the following sources:

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
n
why are you trying to apply
gitlab-publish
if the documentation specifies
plugin-publish
?
nevermind, completely misunderstood the question...
you have to specify mavenLocal for plugin resolution as well. You can add that in your settings.gradle file inside
pluginManagement
a
That did the trick, thanks.