Search Gradle plugins

com.gradle.build-scan

Owner: Gradle

A build scan is a shareable and centralized record of a build that provides insights into what happened and why.

https://scans.gradle.com/plugin/

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

Version 3.12

Created 08 December 2022.

In this version: - [NEW] Add built-in support for https://github.com/gradle/gradle-enterprise-testing-annotations - [NEW] Captures `skipReasonMessage` when specified for the task - [NEW] Test Retry: Test retry functionality provided by the Test-Retry Gradle plugin is integrated - [NEW] Support to configure HTTP `Expect-Continue` on the Gradle Enterprise build cache connector - [NEW] Predictive Test Selection: Test discovery results are cached locally - [FIX] Predictive Test Selection: Fails with a dedicated reason if test task input files could not be determined - [FIX] Remote HTTP build cache `allowUntrustedServer` is ignored if `gradleEnterprise.allowUntrustedServer` is `true` - [FIX] Deprecation warning for undeclared usage of build service when Test Distribution or Predictive Test Selection are enabled Compatible with scans.gradle.com and Gradle Enterprise 2022.4 or later.

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.gradle.build-scan") version "3.12"
}

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