Owner:
bakdata GmbH
Sets up nexusPublish and closeAndReleaseRepository tasks to push to sonatype (and later synced to central)
Version 1.4.0
Created 12 March 2024.
This plugin version will no longer resolve after JCenter becomes a permanent redirect to Maven Central as it uses dependencies only found in JCenter. See the following blog post for details: https://blog.gradle.org/portal-jcenter-impact
Sets up nexusPublish and closeAndReleaseRepository tasks to push to sonatype (and later synced to central)
Add this plugin to your build using the plugins DSL:
plugins {
id("com.bakdata.sonatype") version "1.4.0"
}
See also:
-
Adding the plugin to build logic for usage in precompiled script plugins.
See the relevant documentation for more information.
Add this plugin as a dependency to
<convention-plugins-build>/build.gradle(.kts):dependencies { implementation("com.bakdata.sonatype:com.bakdata.sonatype.gradle.plugin:1.4.0") }It can then be applied in the precompiled script plugin:plugins { id("com.bakdata.sonatype") } -
The legacy method of plugin application.
See the relevant documentation for more information.buildscript { repositories { gradlePluginPortal() } dependencies { classpath("com.bakdata.sonatype:com.bakdata.sonatype.gradle.plugin:1.4.0") } } apply(plugin = "com.bakdata.sonatype") - Applying plugins to all subprojects .