plugin_uploader
plugin_uploader copied to clipboard
Cannot find the task updateLocalPluginXml
The documentation says, the task is registered with the plugin. But i cannot find it in the tasks list nor does it code complete in build.gradle.kts file. The main task uploadPlugin is working fine though. Do you have any ideas?
Sorry for the delay, I completely missed the notifications.
updateLocalPluginXml is not a registered task, I will update the README, sorry for the confusion. Instead, it needs to be registered on the project. Creating a task with type dev.bmac.gradle.intellij.UpdateXmlTask will allow you to use that task. In kotlin DSL, this would look like:
tasks.register("updateLocalPluginXml", dev.bmac.gradle.intellij.UpdateXmlTask::class.java) {
updateFile.set(file("updatePlugins.xml"))
downloadUrl.set("http://example.com/plugins/pluginFile.zip")
pluginName.set("PluginName")
pluginId.set(project.group as String)
version.set(project.version as String)
pluginDescription.set(file("description.txt").readText())
changeNotes.set(file("change-notes.txt").readText())
sinceBuild.set("211")
}
Let me know if that works for your project