Resolve the cpbPackaging configuration via a projectsEvaluated handler instead of the project's own afterEvaluate handler. We must not resolve this configuration until every other project in the build has also had a chance to apply the cordapp-cpk plugin.
This is a subtle fix to an incomplete workaround to a Gradle bug.
Resolve the
cpbPackaging
configuration via aprojectsEvaluated
handler instead of the project's ownafterEvaluate
handler. We must not resolve this configuration until every other project in the build has also had a chance to apply thecordapp-cpk
plugin.This is a subtle fix to an incomplete workaround to a Gradle bug.