main.name.remal.gradle_plugins.plugins.ci.SkipForBuildOnCIMixin.kt Maven / Gradle / Ivy
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