You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if Gradle's Lazy Configuration model was supported (via the plugin DSL), such that values that might be set via other computed values could be used and they would only be evaluated when actually used:
gradleAnalyticsPlugin {
// Example: Conditionally enabling via providers.environmentVariable (returns Provider<String>)
enabled = providers.environmentVariable("CI").map { it =="true" } // Provider<Boolean>
}
The text was updated successfully, but these errors were encountered:
Thanks for reporting this feature. I will investigate and update you here.
By the way, if you want to enable or disable the plugin specifically for CI environments, you don't need to do it manually. You can configure the CI database settings to ensure the plugin is active only on the CI server.
It would be great if Gradle's Lazy Configuration model was supported (via the plugin DSL), such that values that might be set via other computed values could be used and they would only be evaluated when actually used:
The text was updated successfully, but these errors were encountered: