From d2dd21f17e7fa40badeb182d946ce693bd0a31a5 Mon Sep 17 00:00:00 2001 From: Guillaume Bero Date: Tue, 29 Aug 2017 14:38:06 +0200 Subject: [PATCH] Apply fix from https://github.com/stanfy/spoon-gradle-plugin/issues/155#issuecomment-323984112 --- src/main/groovy/com/stanfy/spoon/gradle/SpoonPlugin.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/groovy/com/stanfy/spoon/gradle/SpoonPlugin.groovy b/src/main/groovy/com/stanfy/spoon/gradle/SpoonPlugin.groovy index 9a90a4f..526cb0d 100644 --- a/src/main/groovy/com/stanfy/spoon/gradle/SpoonPlugin.groovy +++ b/src/main/groovy/com/stanfy/spoon/gradle/SpoonPlugin.groovy @@ -94,7 +94,7 @@ class SpoonPlugin implements Plugin { throw new UnsupportedOperationException("Spoon plugin for gradle currently does not support abi/density splits for test apks") } SpoonExtension config = project.spoon - return testVariant.testedVariant.outputs.collect { def projectOutput -> + return testVariant.outputs.collect { def projectOutput -> SpoonRunTask task = project.tasks.create("${TASK_PREFIX}${testVariant.name.capitalize()}${suffix}", SpoonRunTask) task.configure { group = JavaBasePlugin.VERIFICATION_GROUP