Search Gradle plugins

org.hiero.gradle.feature.publish-maven-central.root

Conventions for 'io.github.gradle-nexus.publish-plugin' to publish to Maven Central and filter which modules are published through the '-PpublishingPackageGroup' parameter (root project plugin)

https://github.com/hiero-ledger/hiero-gradle-conventions

Sources: https://github.com/hiero-ledger/hiero-gradle-conventions

Version 0.1.4 (latest)

Created 20 December 2024.

Conventions for 'io.github.gradle-nexus.publish-plugin' to publish to Maven Central and filter which modules are published through the '-PpublishingPackageGroup' parameter (root project plugin)

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.hiero.gradle.feature.publish-maven-central.root") version "0.1.4"
}

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("org.hiero.gradle.feature.publish-maven-central.root:org.hiero.gradle.feature.publish-maven-central.root.gradle.plugin:0.1.4")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("org.hiero.gradle.feature.publish-maven-central.root")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("org.hiero.gradle.feature.publish-maven-central.root:org.hiero.gradle.feature.publish-maven-central.root.gradle.plugin:0.1.4")
      }
    }
    
    apply(plugin = "org.hiero.gradle.feature.publish-maven-central.root")
  • Applying plugins to all subprojects .