
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
DSL for Aggregate Computing in Kotlin
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) }
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy