i have been using the build file below for a while with no problems.
suddenly i am getting this error message.
i am using gradle 3.1
sourceCompatibility = 1.7
targetCompatibility = 1.7
i accidently deleted the java plugin
I am getting the same error. Can you please explain in detail?
testCompile configuration to which the JUnit dependency is added is created by some plugin.
If you for example apply the
kotlin plugin, this configuration will be present and you can add dependencies to it. If you remove all the plugins that would have added that configuration, you get the mentioned error.