Search Gradle plugins

Version 0.5.1 (latest)

Created 26 February 2024.

Configures additional repository shorthands

Add this plugin to your build using the plugins DSL:

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