stanfy / spoon-gradle-plugin

Gradle plugin for Spoon.
Apache License 2.0
353 stars 79 forks source link

[AGP 3.0] - Build failure reason org.gradle.execution.TaskSelectionException: Task 'spoonDebug' not found in root project ''. Some candidates are: 'stopDebug'. #162

Closed jaredsburrows closed 7 years ago

jaredsburrows commented 7 years ago

Details:

Trying to update from Android Gradle Plugin 2.3.3 to 3.0.0.

With 2.3.3:

spoon - Runs all the instrumentation test variations on all the connected devices
spoonDebugAndroidTest - Runs instrumentation tests on all the connected devices for 'debugAndroidTest' variation and g

With 3.0.0:

spoon - Runs all the instrumentation test variations on all the connected devices

Error:

Build failure reason org.gradle.execution.TaskSelectionException: Task 'spoonDebug' not found in root project 'android'. Some candidates are: 'stopDebug'. 
autonomousapps commented 7 years ago

Duplicate of https://github.com/stanfy/spoon-gradle-plugin/issues/155

jaredsburrows commented 7 years ago

@autonomousapps Thanks. That issue should be renamed as it is not Gradle's fault, it is the Android Grade Plugin fault.

autonomousapps commented 7 years ago

I'll leave that to a maintainer to figure out :)

Btw, if you look at the PR associated with that other ticket, you'll find a solution using a snapshot build that will get you rolling again.

jaredsburrows commented 7 years ago

@autonomousapps I hope that the make a release soon!