-
Notifications
You must be signed in to change notification settings - Fork 79
Upgrade to spoon2.0.0-snapshot, android3.0.0 and gradle 4.1 #161
Upgrade to spoon2.0.0-snapshot, android3.0.0 and gradle 4.1 #161
Conversation
Great initiative - but I have the same problem travis has - as the PR uses a SnapShot of spoon but does not add the SnapShot maven repo. This should help:
|
Oh nice thanks! I couldn't figure out where spoon kept snapshots. I'll update in a bit |
3.0.0 is officially out now too so will upgrade to that and test as soon as i can |
… fix bug with setting custom adb timeout
one question (blocks me from using 3.0.0 for now) don't you experience: https://issuetracker.google.com/issues/68275433 |
@ligi haven't seen that error |
Hi! Just wondering when this might get merged and published? I also tried to find a snapshot build, but it doesn't seem to be available. https://oss.sonatype.org/content/repositories/snapshots/com/stanfy/spoon/spoon-gradle-plugin/ |
@dweebo thanks for the info and good for you ;-) |
@ligi can you show me the code for that? Gradle still can't find it. I have:
|
classpath 'com.github.dweebo:spoon-gradle-plugin:5c318830a43c01dc098b745278168e12fb55dedc' should do the trick |
Thank you, that worked (almost), but now it's complaining it can't find |
you need to add |
Yes, sorry! I removed that after you said to use jitpack. All is well now with that re-added to repos block. For anyone else that sees this, here is a complete working example:
|
@autonomousapps @ligi When can we get a new release. The last release on this plugin was over a year ago :( |
@jaredsburrows I cannot tell you as I am not the maintainer ..-) |
@ligi Alright. @autonomousapps Combining it all together:
Both tasks show up again:
|
Cool. I didn't have to add an explicit dependency on the spoon-runner, since the spoon-gradle-plugin pulled that in automatically. 🤷♂️ |
@autonomousapps did the output change of the artifacts? |
@jaredsburrows Good question. I'm currently wrestling with Jenkins to get it to build my project with all the updates. The last build didn't have usual Spoon report, so it's possible the artifact location has changed. |
square/spoon@53a63fe was just merged - @jaredsburrows can you ping when a version of your plugin contains this? |
@ligi Support added here in |
@dweebo @ligi @autonomousapps Are you all seeing this? square/spoon#498 No xml junit reports are being generated. |
@ligi Can you verify that "single instrumentation" is working for you? Also, @dweebo @autonomousapps are you all seeing what I am seeing? |
@jaredsburrows sorry - did not yet find time to try - also a bit reluctant using such snapshot versions as I want my builds to be reproducible as possible - as far as I see this way the plugin could change from build to build - which means the build could pass one time and fail another time. |
@ligi I need to publish a new release but the SNAPSHOT is stable and does support |
Ah right - dam - do you have any idea when spoon 2.0.0 will be released? |
@ligi No :( |
Hi all
I haw exception in logcat
|
@hram Yes. This is because by default Spoon 2 runs in separate instrumentation. So you need to use the |
@jaredsburrows thank you very much! |
@hram Great! It really should be reported to spoon. As it is a limitation to |
build.gradle
Outdated
|
||
compile 'com.android.tools.build:gradle:1.5.0' | ||
compile('com.android.tools.build:gradle:3.0.0') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you update it to 3.0.1 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually I am trying :)
@jimxj I upgraded to 3.0.1 and fixed an issue with a recent change to spoon snapshot 2.0.0 |
@dweebo I love the map. |
@jaredsburrows can you help me?
and set parameter as you sad
but spoon task execuded fith error
I changed params as
and no luck ( |
@hram Sorry. I need to update the documentation. Your I need to support both |
@jaredsburrows but as I sad
|
@hram Maybe it is a bug. Can you post an issue in that projects issues? |
@jaredsburrows yes I can ) |
Is anythig blocking this from being merged? |
To fix issues discussed in #155 and to prepare for android build tools 3.0.0.