Search Gradle plugins

org.hiero.gradle.feature.publish-dependency-constraints

Adds the 'publishDependencyConstraint' scope that is used to define dependencies for which direct dependency constraints should be published

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

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

Version 0.3.1 (latest)

Created 17 January 2025.

Adds the 'publishDependencyConstraint' scope that is used to define dependencies for which direct dependency constraints should be published

Add this plugin to your build using the plugins DSL:

plugins {
  id("org.hiero.gradle.feature.publish-dependency-constraints") version "0.3.1"
}

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