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
{{ message }}
This repository was archived by the owner on May 25, 2020. It is now read-only.
Seems the bunyan plugin is not compatible with new versions of the Android Gradle Plugin used on the 3.2.x previews of Android Studio (tested with 3.2.0-alpha12). The error that appears is this:
* What went wrong:
Execution failed for task ':app:preDebugBuild'.
> Cannot call TaskOutputs.upToDateWhen(Closure) on task ':app:mergeDebugAssets' after task has started execution.
This seems to be due to the call to upToDateWhen done in BunyanPlugin.groovy which is calling that on a doFirst lambda which is probably too late since it triggers the task is already started issue. I guess that this probably is also not working correctly on previous versions of the Android Gradle Plugin but instead of aborting the build was allowed to continue before even if the upToDate callback was not working.
So maybe just removing that call would make the plugin work again on newer versions or behave on the same way that is has until now with that "late" call to upToDateWhen. It could also be possible to set that on a different callback / task so it meets the requirements of setting it before the task starts, but I don't know enough about coding gradle plugins to know how to do that so I can not submit a PR. Any ideas? Could it be possible to fix this easily or to use bunyan without the plugin? If not I may need to replace all my bunyan code cause I need some features of the new Android Gradle Plugin versions 😞