Search Gradle plugins

Version 0.5.1 (latest)

Created 26 February 2024.

Performs pre-publish check for requirements for publishing to Maven Central, also when publishing snapshots

Add this plugin to your build using the plugins DSL:

plugins {
  id("eu.xenit.enterprise-conventions.ext.maven-central-requirements") version "0.5.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("eu.xenit.enterprise-conventions.ext.maven-central-requirements:eu.xenit.enterprise-conventions.ext.maven-central-requirements.gradle.plugin:0.5.1")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("eu.xenit.enterprise-conventions.ext.maven-central-requirements")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("eu.xenit.enterprise-conventions.ext.maven-central-requirements:eu.xenit.enterprise-conventions.ext.maven-central-requirements.gradle.plugin:0.5.1")
      }
    }
    
    apply(plugin = "eu.xenit.enterprise-conventions.ext.maven-central-requirements")
  • Applying plugins to all subprojects .