Skip to content

Groovy setup

Iñaki Villar edited this page Feb 7, 2019 · 1 revision

Setup Plugin

Include in the classpath the latest version of Talaiot:

classpath "com.cdsap:talaiot:<latest_version>"

Apply the plugin:

apply plugin: 'talaiot'

Basic configuration

import com.cdsap.talaiot.logger.LogTracker

def localMetrics = [
        "version"     : "3.2",
        "specialBuild": "false"
]

talaiot {
    logger = LogTracker.Mode.INFO
    publishers {
        outputPublisher{}

    }
    metrics {
        customMetrics(localMetrics)

    }
}
Clone this wiki locally