Package-level declarations

Types

Link copied to clipboard

Implementation of provider holding a local properties file's parsed Properties.

Link copied to clipboard
class PropertyResolver(providers: PropertyResolver.SimpleProviderFactory, localPropertyProvider: (String) -> Provider<String>, localGradlePropertyProvider: (String) -> Provider<String>, startParameterProperty: (String) -> Provider<String>, globalLocalProperty: (String) -> Provider<String>, globalGradleLocalProperty: (String) -> Provider<String>)

A property resolver that handles multiple property sources in a hierarchical fashion for providerFor.

Link copied to clipboard

Implementation of provider holding a start parameter's parsed project properties.

Functions

Link copied to clipboard
Link copied to clipboard
fun <T> Project.getOrCreateExtra(key: String, body: (Project) -> T): T

Gets or creates a cached extra property.

Link copied to clipboard

Returns a new UTF8 String Provider backed by a ValueSource that produces a git exec operation with the given args.

Link copied to clipboard

Returns a provider of a property only contained in this project's local gradle.properties.

Link copied to clipboard

Returns a provider of a property only contained in this project's local.properties.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T> markAsNonNullForGradle(value: T?)
Link copied to clipboard
fun <K, V> MapProperty<K, V>.setDisallowChanges(map: Map<K, V>?)
fun <T> Property<T>.setDisallowChanges(value: T?)
fun <T> Property<T>.setDisallowChanges(value: Provider<out T>)
fun <T> ListProperty<T>.setDisallowChanges(value: Provider<out Iterable<T>>?, handleNullable: ListProperty<T>.() -> Unit)
fun <K, V> MapProperty<K, V>.setDisallowChanges(map: Provider<Map<K, V>>?, handleNullable: MapProperty<K, V>.() -> Unit)
Link copied to clipboard
fun <T> sneakyNull(value: T? = null): T
Link copied to clipboard
fun Project.synchronousEnvProperty(env: String, default: String? = null): String?