fladle
fladle copied to clipboard
Properties set at fladle scope don't get propagated to individual configs
When executing ./gradlew app:runFlankReleaseVariantTests from the configuration below, I noticed that orchestrator was still set to false (the default), despite the fact that it was set to true at the top-level scope:
fladle {
useOrchestrator.set(true) // PROBLEM: not being propagated down
configs {
create("releaseVariantTests") {
debugApk.set(project.provider { "$buildDir/outputs/apk/internal/release/$apkName" })
instrumentationApk.set("$buildDir/outputs/apk/androidTest/internal/release/$testApkName")
devices.set(listOf(mapOf("model" to "walleye" /* pixel2 */, "version" to "27"))) //
testTargets.set(listOf("package slack.external"))
}
}
}
Running the fladle kotlin (sample)[https://github.com/runningcode/fladle/blob/master/sample-kotlin/build.gradle.kts] should repro this error.
Thanks for the repro :D i should have noticed since its in this project. Will take a look!
useOrchestrator property still doesn't propagate as expected for me. All other ones seem to work as expected.