Search Gradle plugins

Version 0.5.1 (latest)

0.5.1

Created 26 February 2024.

Adds OCI annotations to Docker images indicating the source repository and commit

Using the plugins DSL:

plugins {
  id("eu.xenit.enterprise-conventions.ext.docker-image-labels") version "0.5.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("eu.xenit.gradle:enterprise-conventions-plugin:0.5.1")
  }
}

apply(plugin = "eu.xenit.enterprise-conventions.ext.docker-image-labels")

Using the plugins DSL:

plugins {
  id "eu.xenit.enterprise-conventions.ext.docker-image-labels" version "0.5.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "eu.xenit.gradle:enterprise-conventions-plugin:0.5.1"
  }
}

apply plugin: "eu.xenit.enterprise-conventions.ext.docker-image-labels"

Learn how to apply plugins to subprojects