fladle
fladle copied to clipboard
Lazily evaluate file paths for debug and instrumentation APKs
debugApk and instrumentationApk are using the Gradle Property API, but still being evaluated in the configuration phase, preventing non-string references with the plugin configuration, for example:
fladle {
debugApk = project.provider { findArtifactPath(some, parameters, here) }
}
Is this supposed to be fixed with https://github.com/runningcode/fladle/issues/92 or is it a separate issue in the current plugin version?
Related issue: calling isPresent eagerly evaluates properties: https://github.com/gradle/gradle/issues/13932
This feature may help alleviate this in the future: https://github.com/gradle/gradle/issues/13401