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

main.name.remal.gradle_plugins.plugins.ci.SkipForBuildOnCIMixin.kt Maven / Gradle / Ivy

There is a newer version: 1.9.2
Show newest version
package name.remal.gradle_plugins.plugins.ci

import name.remal.gradle_plugins.dsl.PluginCondition
import name.remal.gradle_plugins.dsl.extensions.getOrNull
import org.gradle.api.Project

interface SkipForBuildOnCIMixin {

    @PluginCondition
    fun Project.isBuildOnLocal(): Boolean {
        val ci = getOrNull(CIExtension::class.java) ?: return true
        return ci.isBuildOnLocal
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy