Search Gradle plugins

ch.tutteli.gradle.plugins.publish

Applies maven-publish as well as io.github.gradle-nexus.publish-plugin and configures them according to tutteli's publish conventions.

https://github.com/robstoll/tutteli-gradle-plugins

Sources: https://github.com/robstoll/tutteli-gradle-plugins.git

Version 5.0.3 (latest)

Created 31 October 2024.

Applies maven-publish and configures it according to tutteli"s publish conventions.

Add this plugin to your build using the plugins DSL:

plugins {
  id("ch.tutteli.gradle.plugins.publish") version "5.0.3"
}

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