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

name.remal.gradle_plugins.dsl.reflective_project_plugin.info.WithRequirements.kt Maven / Gradle / Ivy

There is a newer version: 1.9.2
Show newest version
package name.remal.gradle_plugins.dsl.reflective_project_plugin.info

import name.remal.gradle_plugins.dsl.PluginId
import org.gradle.util.GradleVersion

interface WithRequirements {

    val minGradleVersion: GradleVersion?
    val maxGradleVersion: GradleVersion?
    val supportsCurrentGradleVersion: Boolean
        get() = minGradleVersion.let { it == null || it <= GradleVersion.current() }
            && maxGradleVersion.let { it == null || it >= GradleVersion.current() }
    val doesNotSupportCurrentGradleVersion: Boolean get() = !supportsCurrentGradleVersion

    val requirePluginIds: Set

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy