Android TDD: The saga continues with Robolectric & Gradle

后端 未结 1 1201
面向向阳花
面向向阳花 2021-01-06 20:18

Just when I\'d achieved an effective development and build environment with the android-maven-plugin, the new kid on the block, Gradle, starts making inroads in

相关标签:
1条回答
  • 2021-01-06 20:42

    I ran into the same issue, dug into the code, fixed it, and submitted a pull request which has just now been merged. See my explanation on the PR for details, but it boils down to a bad optimization in the plugin code:

    https://github.com/robolectric/robolectric-gradle-plugin/pull/70

    As of today you need to clone the repo and build and install the plugin to your local maven repo. The next time they do a release to maven central (perhaps release 0.13.1?), you'll be able to use the plugin directly from there.

    0 讨论(0)
提交回复
热议问题