Could not determine dependencies for all tasks using robolectric gradle plugin

after changing my gradle build file as written in the document, I get the following error for all my tasks:

Could not determine task dependencies: android: testDebug.

it's a subproject called android, so it could just be testDebug for others using gradle -android-test-plugin: 0.9. +

Does anyone know what the problem is?

+4
source share
2 answers

after using gradle 1.6 instead of 1.7 it works

+2
source

A transfer request was made on a plugin that essentially handles Gradle 1.7 / 1.8. The owner did not push him to the maven repo, so for now you cannot use the version on maven repo.

I checked the source code from github and added it as a manual dependency in my libraries using gradle. That should make you go.

+1
source

Source: https://habr.com/ru/post/1498527/


All Articles