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.19.1 (latest)

Created 23 January 2025.

WARNING: This plugin has been deprecated in favor of the "com.gradle.develocity" plugin. Refer to https://gradle.com/help/gradle-plugin-develocity-migration for more details and migration instructions. In this version: - [NEW] Build Scan: Do not capture output of Gradle's `:properties` task to avoid leaking sensitive information - [NEW] Test Distribution: Fall back to local test execution if connection to Develocity times out instead of failing the build - [FIX] Test Distribution: Performance statistics can be wrong when the build gets cancelled - [FIX] Test Distribution: Build fails when starting the Kover coverage agent newer than version 0.8.0 - [FIX] Test Distribution: Test Distribution agent specific env variables are accessible from the test JVM - [FIX] Test Distribution/Predictive Test Selection: Timestamps of test events can be wrong when the test task times out Compatible with scans.gradle.com and Develocity 2024.3 or later.

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.gradle.build-scan") version "3.19.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.build-scan:com.gradle.build-scan.gradle.plugin:3.19.1")
    }
    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.19.1")
      }
    }
    
    apply(plugin = "com.gradle.build-scan")
  • Applying plugins to all subprojects .