The Gradle Kotlin DSL.
class ClientModuleScope : ClientModule
Receiver for ClientModule configuration blocks. |
|
class DependencyHandlerScope : DependencyHandler
Receiver for |
|
interface GroovyBuilderScope : GroovyObject
Provides a dynamic dispatching DSL with Groovy semantics for better integration with
plugins that rely on Groovy builders such as the core |
|
abstract class InitScriptApi : Gradle
Standard implementation of the API exposed to all types of Gradle scripts, precompiled and otherwise. |
|
class InitialValueExtraPropertyDelegate<T>
Enables typed access to extra properties with initial value. |
|
class InitialValueExtraPropertyDelegateProvider<T> |
|
abstract class KotlinBuildScript : Project
Base class for Kotlin build scripts. |
|
open class KotlinClosure0<V : Any> : Closure<V?>
Adapts a parameterless Kotlin function to a parameterless Groovy Closure. |
|
class KotlinClosure1<in T, V : Any> : Closure<V?>
Adapts an unary Kotlin function to an unary Groovy Closure. |
|
class KotlinClosure2<in T, in U, V : Any> : Closure<V?>
Adapts a binary Kotlin function to a binary Groovy Closure. |
|
abstract class KotlinInitScript : InitScriptApi
Base class for Kotlin init scripts. |
|
abstract class KotlinSettingsScript : SettingsScriptApi
Base class for Kotlin settings scripts. |
|
interface MutablePropertyDelegate : PropertyDelegate
Provides efficient access to a mutable dynamic property. |
|
class NamedDomainObjectCollectionDelegateProvider<T> |
|
class NamedDomainObjectContainerDelegateProvider<T : Any>
A property delegate that creates elements in the given NamedDomainObjectContainer. |
|
class NamedDomainObjectContainerScope<T : Any> : NamedDomainObjectContainer<T>, PolymorphicDomainObjectContainer<T>
Receiver for NamedDomainObjectContainer configuration blocks. |
|
class PluginDependenciesSpecScope : PluginDependenciesSpec
Receiver for the |
|
class PolymorphicDomainObjectContainerDelegateProvider<T : Any, U : T>
A property delegate that creates elements of the given type with the given configuration in the given container. |
|
class PolymorphicDomainObjectContainerGettingDelegate<T : Any, U : T>
A property delegate that gets elements of the given type in the given container. |
|
class PolymorphicDomainObjectContainerGettingDelegateProvider<T : Any, U : T>
A property delegate that gets elements of the given type from the given container and applies the given configuration. |
|
interface PropertyDelegate
Provides efficient access to a property. |
|
class ScriptHandlerScope : ScriptHandler
Receiver for the |
|
abstract class SettingsScriptApi : Settings
Standard implementation of the API exposed to all types of Settings scripts, precompiled and otherwise. |
annotation class GradleDsl
Delimits a Gradle DSL. |
|
annotation class KotlinScriptTemplate
Temporary workaround for Kotlin 1.2.50. |
org.gradle.plugins.javascript.coffeescript.CoffeeScriptExtension |
|
val embeddedKotlinVersion: String
The version of the Kotlin compiler embedded in gradle-kotlin-dsl (currently 1.2.41). |
|
val <ERROR CLASS>.ext: ExtraPropertiesExtension
Retrieves the ext extension. |
|
val <T : Any, U : NamedDomainObjectCollection<in T>> U.getting: U
Idiomatic way of referring to an existing element in a collection via a delegate property. |
fun <T : ModuleDependency> T.exclude(group: String? = null, module: String? = null): T
Adds an exclude rule to exclude transitive dependencies of this dependency. |
|
fun <ERROR CLASS>.ext(configure: ExtraPropertiesExtension.() -> Unit): Unit
Configures the ext extension. |
|
fun <T : Any, U : NamedDomainObjectCollection<T>> U.getting(configuration: T.() -> Unit): NamedDomainObjectCollectionDelegateProvider<T>
Idiomatic way of referring and configuring an existing element in a collection via a delegate property. |
|
operator fun <T : Any, C : NamedDomainObjectContainer<T>> C.invoke(configuration: NamedDomainObjectContainerScope<T>.() -> Unit): C
Allows the container to be configured, creating missing objects as they are referenced. |
|
fun <T> typeOf(): TypeOf<T>
Creates an instance of TypeOf for the given parameterized type. |