Search Gradle plugins

Version 5.5.0 (latest)

Created 06 August 2024.

This plugin is an extension of eu.xenit.docker-compose that automatically uses dockerCompose.fromProject() for all projects in your Gradle build.

Add this plugin to your build using the plugins DSL:

plugins {
  id("eu.xenit.docker-compose.auto") version "5.5.0"
}

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