stevesaliman / gradle-cobertura-plugin

Gradle Cobertura Plugin
118 stars 50 forks source link

Android Gradle 3.0 error #143

Closed msbouchedid closed 6 years ago

msbouchedid commented 7 years ago

Updated to Android Studio 3.0 along with Gradle 3.0 and tried to run the cobertura gradle task and got the following error:

Error:Could not determine the dependencies of task ':app:instrument'.
> Resolving configuration 'debugCompile' directly is not allowed

Cobertura was working fine with the previous Android Studio & gradle version of 2.3.x

msbouchedid commented 7 years ago

Hello, it has been a couple days since anyone has answered... Can someone please help me out?

Thanks.

wiomoc commented 7 years ago

144

stevesaliman commented 7 years ago

Thank you @wiomoc for the pull request. Version 2.5.2 if the plugin has been released with your changes to support Android Tools 3.0.

@msbouchedid Does this fix your issue?

msbouchedid commented 7 years ago

@wiomoc @stevesaliman I have confirmed that this works. Thank you guys so much for the update. Love the library!