All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ru.tinkoff.plugins.buildmetrics.jvm.SetupBuildMetricsExtension.kt Maven / Gradle / Ivy

The newest version!
package ru.tinkoff.plugins.buildmetrics.jvm

import ru.tinkoff.plugins.buildmetrics.api.extensions.BuildMetricsExtension
import ru.tinkoff.plugins.buildmetrics.api.extensions.handlers.LabelsHandler
import ru.tinkoff.plugins.buildmetrics.jvm.labels.JvmLabelsFactory

fun LabelsHandler.addJvmLabels() {
    add(JvmLabelsFactory())
}

@Suppress("unused")
fun BuildMetricsExtension.addJvmMetricsAndLabels() {
    labels {
        addJvmLabels()
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy