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/

Sources: https://github.com/gradle/gradle

Version 2.1.1

Created 20 July 2021.

New in this version: - Introduce option to prefer remote execution - Let JUnit Platform artifacts on the test runtime classpath/module path take precedence over those included in the plugin - Detect debug options from classpath to support debugging from IDEs - Fix merging of JaCoCo coverage data when using a single remote executor along with local executors - Fix capturing of logging output when frameworks are initialized before test execution Compatible with Gradle Enterprise 2021.2 or later.

Add this plugin to your build using the plugins DSL:

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