takahirom / measure-builds-gradle-plugin

Gradle Plugin for reporting build time results into Tracks system.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

measure-builds Gradle Plugin Pre Merge Checks

Gradle Plugin for reporting build metrics into internal Automattic systems.

Setup

// settings.gradle
plugins {
    id "com.gradle.enterprise" version "latest_version" // optional
}

// build.gradle
plugins {
    id "com.automattic.android.measure-builds" version "latest_tag"
}

measureBuilds {
    automatticProject.set(com.automattic.android.measure.MeasureBuildsExtension.AutomatticProject.WooCommerce)
    attachGradleScanId.set(true) // `false`, if no Enterprise plugin applied OR don't want to attach build scan id 
}

Configuration

Property Required? Description
automatticProject yes Project that will determine event name
attachGradleScanId yes Upload metrics after build scan is published, with build scan id attached. If false, metrics will be uploaded upon build finish, without build scan id attached
enable no Enable plugin (def: false)
obfuscateUsername no Obfuscate system username with SHA-1 (def: false)

Demo

image

About

Gradle Plugin for reporting build time results into Tracks system.

License:MIT License


Languages

Language:Kotlin 99.6%Language:Shell 0.4%