Search Gradle plugins

com.gradle.build-scan

Gradle build scans provide deep insights to your build by sending information to the Gradle Cloud where your build is analyzed then sent back to you as a build scan for free. Alternatively, build scans can be published to a private Gradle Enterprise installation. See https://gradle.com for more information.

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

Version 1.8

Created 15 June 2017.

New in this version:

- Capture resolved requested tasks.
- Capture build cache configuration when build cache is enabled.
- Capture task inputs for each task when build cache is enabled.
- Capture origin build invocation id for tasks with up-to-date and from-cache outcome.
- Capture reasons why a task was not up-to-date.
- Capture GC and peak heap memory statistics.
- Capture more network download activities.
- Get notified after successful build scan publication via buildScan.buildScanPublished().
- Build scan plugin logs at quiet level.

Compatible with scans.gradle.com and Gradle Enterprise 2017.4 or later.

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects