getOrCreateExtra

fun <T> Project.getOrCreateExtra(key: String, body: (Project) -> T): T(source)

Gets or creates a cached extra property.