name.remal.gradle_plugins.dsl.reflective_project_plugin.info.ActionsGroupInfo.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-plugins-kotlin-dsl Show documentation
Show all versions of gradle-plugins-kotlin-dsl Show documentation
Remal Gradle plugins: gradle-plugins-kotlin-dsl
package name.remal.gradle_plugins.dsl.reflective_project_plugin.info
import name.remal.gradle_plugins.dsl.PluginId
import name.remal.gradle_plugins.dsl.ProjectPluginClass
import org.gradle.util.GradleVersion
data class ActionsGroupInfo(
val actionsGroupClass: Class<*>,
val isHidden: Boolean = false,
override val order: Int = 0,
override val description: String = "",
override val conditionMethods: List = listOf(),
override val minGradleVersion: GradleVersion? = null,
override val maxGradleVersion: GradleVersion? = null,
override val requirePluginIds: Set = setOf(),
override val applyPluginIds: Set = setOf(),
override val applyOptionalPluginIds: Set = setOf(),
override val applyPluginClasses: Set = setOf(),
override val applyPluginIdsAtTheEnd: Set = setOf(),
override val applyOptionalPluginIdsAtTheEnd: Set = setOf(),
override val applyPluginClassesAtTheEnd: Set = setOf(),
override val actionMethods: List = listOf(),
override val actionsGroups: List = listOf()
) : ActionInfo, WithPluginActions, Comparable {
override val actions: List = super.actions
override fun compareTo(other: ActionsGroupInfo): Int {
super.compareTo(other).let { if (it != 0) return it }
actionsGroupClass.simpleName.compareTo(other.actionsGroupClass.simpleName).let { if (it != 0) return it }
actionsGroupClass.name.compareTo(other.actionsGroupClass.name).let { if (it != 0) return it }
return 0
}
}