This message was deleted.
# community-support
s
This message was deleted.
e
according to the docs at https://plugins.gradle.org/docs/publish-plugin if you are using the Kotlin DSL, it should be
website.set("...")
etc.
if you are using the Groovy DSL, then I'm not sure. perhaps something else in your buildscript classpath is keeping you on the older version.
v
gradlePlugin { ... }
is not part of the
com.gradle.plugin-publish
plugin, but part of the
java-gradle-plugin
which is built-in into Gradle and thus depends on the version of Gradle not of the plugin publish plugin. In Gradle 6.8.2 there is no
website
property in the extension of the
java-gradle-plugin
, that was only added in 7.6.
That's btw. also what the linked-to docs say in the Examples section:
Plugin Publish plugin v1.0.0 simplifies the configuration of plugin publishing by merging the
pluginBundle
block into the
gradlePlugin
one.
These simplifications however require backing support in the Gradle API, so are only available when using the Plugin Publish Plugin with Gradle v7.6 or later.
So I guess with 6.8.2 you just continue configuring the website and maybe other things in the
pluginBundle
block.
j
Okay. Thank you.
👌 1