it.unibo.collektive.GradleExtension.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-plugin Show documentation
Show all versions of gradle-plugin Show documentation
Gradle support for the Collektive Kotlin compiler plugin, performing automatic aggregate alignment of Kotlin sources .
package it.unibo.collektive
import org.gradle.api.model.ObjectFactory
import org.gradle.api.provider.Property
/**
* Creating gradle extension which is used to define a property that can be
* used to enable or disable the plugin.
*/
open class GradleExtension(objects: ObjectFactory) {
/**
* Determines if the compiler plugin should be enabled or disabled.
*/
val collektiveEnabled: Property = objects.property(Boolean::class.java).apply { convention(true) }
}