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.17

Created 02 April 2024.

WARNING: This plugin has been deprecated; use the "com.gradle.develocity" plugin version 3.17 and above instead. In this version: - [NEW] Rename plugin from Gradle Enterprise to Develocity, along with new configuration DSLs, system properties, and APIs - [NEW] Build Scan: Insights into Gradle's configuration caching - origin build navigation, entry size, and failure - [NEW] Build Scan: Develocity displays avoidance savings and a link to the origin build scan for all up-to-date Gradle artifact transform executions - [NEW] Build Scan: Develocity reliably detects when Gradle disables the remote build cache due to failures - [NEW] Test Distribution: Add support for debugging tests executed remotely on Test Distribution agents - [NEW] Test Distribution: Add support for relational operators in build requirements - [NEW] Test Distribution/Predictive Test Selection: Test acceleration features work with Gradle's Isolated Projects feature - [FIX] Build cache cannot be used when publishing a Build Scan to scans.gradle.com - [FIX] Build Scan: Cancelling a Gradle build may result in an incomplete Build Scan - [FIX] Predictive Test Selection: Gradle displays a "no test executed" deprecation warning when no tests are selected on Gradle 8.3 and later - [FIX] Test Distribution: Builds may succeed despite unsuccessful retries of location-restricted tests - [FIX] Test Distribution: Running test tasks is incompatible with IntelliJ's "Run with coverage" feature Compatible with scans.gradle.com and Develocity 2024.1 or later.

Add this plugin to your build using the plugins DSL:

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

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.17")
    }
    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.17")
      }
    }
    
    apply(plugin = "com.gradle.build-scan")
  • Applying plugins to all subprojects .