-
Notifications
You must be signed in to change notification settings - Fork 79
Not working with Gradle 4.0 #155
Comments
We have the same problem. from installed it locally and it seems to work. Can anybody confirm that would be a correct fix for the problem we are facing ? |
For everyone else facing this issue, we did a quick workaround in our branch at https://github.com/Frntbac/spoon-gradle-plugin/tree/hotfix/fix_for_gradle_4.0 You can use it through jitpack by changing your build.gradle file as follow :
Please note it's far from perfect and for example we had to use We do not intend on maintaining this branch or repository, it's just a workaround and we thought people might appreciate it but don't expect bug fixing. |
Having following exception when running @bmonjoie version:
Android gradle plugin is |
@Tapchicoma that look like this bug in spoon that has PR. I'm seeing the same thing. |
The fix by @bmonjoie works ok until the spoon-gradle-plugin is upgraded to use build tools 3.0.0-beta7. I'm working on patches to get it upgraded and to use spoon-2.0.0-snapshot. |
After upgrading to spoon2.0.0-snapshot, I am getting below exception when I start my tests with Execution failed for task ':App:spoonDebugAndroidTest'.
|
Never mind I figured this out, I didn't upgrade spoon-gradle-plugin before. |
So we should use |
Can someone explain which versions of gradle-plugin and spoon-runner should be used in order to work with gradle 4.0? |
I think there is no official release from Square yet. But It starts working for me after I updated spoon client version and runner to 2.0.0-SNAPSHOT and used the below plugin. |
I created this Spoon plugin for Gradle that works with Spoon 2.0.0+ and Android Gradle Plugin 3.0.0+ here: https://github.com/jaredsburrows/gradle-spoon-plugin. |
I've been using spoon for 2 years. After updating to Gradle 4.0 when I start my tests with
./gradlew spoon
build quits after few seconds and nothing happens.
Spoon versions that I use:
com.stanfy.spoon:spoon-gradle-plugin:1.2.2
com.squareup.spoon:spoon-client:1.6.4
The text was updated successfully, but these errors were encountered: