Search Gradle plugins

com.gradle.enterprise.test-distribution

Owner: Gradle

Gradle Enterprise test distribution takes your existing test suites and distributes them across remote agents to execute them faster.

https://docs.gradle.com/enterprise/test-distribution-gradle-plugin/

Version 2.0

Created 15 March 2021.

New in this version:

- Better utilization of agents that become available during test execution
- Simplified usage in a multi-project build
- Configuration cache compatibility
- Once-per-JVM setup/teardown via JUnit's LauncherSessionListener
- Optimize local execution of single test classes

Compatible with Gradle Enterprise 2021.1 or later.

Using the plugins DSL:

plugins {
  id "com.gradle.enterprise.test-distribution" version "2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.gradle.enterprise:test-distribution-gradle-plugin:2.0"
  }
}

apply plugin: "com.gradle.enterprise.test-distribution"

Using the plugins DSL:

plugins {
  id("com.gradle.enterprise.test-distribution") version "2.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.gradle.enterprise:test-distribution-gradle-plugin:2.0")
  }
}

apply(plugin = "com.gradle.enterprise.test-distribution")

Learn how to apply plugins to subprojects