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

com.ybo.trackingplugin.extension.TrackingPluginExtension.kt Maven / Gradle / Ivy

Go to download

gradle plugin allowing to add automatic logs (or other process) at the start of each traced method

There is a newer version: 0.6.2
Show newest version
package com.ybo.trackingplugin.extension

import org.gradle.api.Action

open class TrackingPluginExtension {
    /** name of tasks that will be enclosed with processTrace and unProcessTask.
     * these task will deal with the code modified to be traced, and when done will
     * leave the code as they have found them.
     * */
    var trackables: Array = emptyArray()
    var debug: Boolean = false

    /** Configure the inner DSL object, [TraceProcessConfigHandler]. */
    val configurationHandler: TraceProcessConfigHandler = TraceProcessConfigHandler()

    /** Configure the inner DSL object, [TraceProcessConfigHandler]. */
    fun config(action: Action) {
        action.execute(configurationHandler)
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy