fladle icon indicating copy to clipboard operation
fladle copied to clipboard

Lazily evaluate file paths for debug and instrumentation APKs

Open julioz opened this issue 5 years ago • 1 comments

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?

julioz avatar Jun 15 '20 16:06 julioz

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

runningcode avatar Jan 22 '21 13:01 runningcode