This message was deleted.
# plugin-development
s
This message was deleted.
o
Stacktrace:
Copy code
Caused by: org.gradle.api.UnknownDomainObjectException: Publication with name 'pluginMaven' not found.
	at org.gradle.api.internal.DefaultNamedDomainObjectCollection.createNotFoundException(DefaultNamedDomainObjectCollection.java:504)
	at org.gradle.api.internal.DefaultNamedDomainObjectCollection.getByName(DefaultNamedDomainObjectCollection.java:333)
	at com.gradle.publish.PublishTask.lambda$afterProjectEvaluate$1(PublishTask.java:267)
Caused by: org.gradle.api.UnknownDomainObjectException: Publication with name 'pluginMaven' not found.
	at org.gradle.api.internal.DefaultNamedDomainObjectCollection.createNotFoundException(DefaultNamedDomainObjectCollection.java:504)
	at org.gradle.api.internal.DefaultNamedDomainObjectCollection.getByName(DefaultNamedDomainObjectCollection.java:333)
	at com.gradle.publish.PublishTask.lambda$afterProjectEvaluate$1(PublishTask.java:267)
Looks like this issue introduced with the new feature for automatic signing of plugins artifacts.
l
Please file such an issue on https://github.com/gradle/gradle/issues directly. But if you are trying with version 1.0.0-rc-1, then it no longer supports setting
isAutomatedPublishing
to
false
, although it should fail in a more explicit way. What鈥檚 your use case for turning that off?
@J贸zsef Bart贸k FYI
o
Yes, it is
1.0.0-rc-1
One of plugins I have in project should not be published to Gradle plugins portal, and it is published only to my internal repository. So I want to disable PluginMarker artifacts creation for this plugin and configure its publication manually. Hm.. I think I just should create separated precompiled kotlin script for this particular plugin which will not apply
plugin-publish
l
Indeed 馃檪 Note however that having the marker published to your internal repository will allow the
plugins
notation with only an ID as long as you add your internal repository in
pluginManagement
.