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.

Using the plugins DSL:

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

Using legacy plugin application:

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

apply(plugin = "com.gradle.build-scan")

Using the plugins DSL:

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

Using legacy plugin application:

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

apply plugin: "com.gradle.build-scan"

Learn how to apply plugins to subprojects