com.github.leandroborgesferreira.dagcommand.utils.SyntaxExtensions.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dag-command Show documentation
Show all versions of dag-command Show documentation
Affected gradle modules by branch
package com.github.leandroborgesferreira.dagcommand.utils
import org.gradle.api.Action
import org.gradle.api.Task
import org.gradle.api.plugins.ExtensionContainer
import org.gradle.api.tasks.TaskContainer
import org.gradle.api.tasks.TaskProvider
inline fun ExtensionContainer.create(name: String) =
this.create(name, T::class.java)
inline fun TaskContainer.registerExt(
name: String,
configuration: Action
): TaskProvider = this.register(name, T::class.java, configuration)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy