New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update compatibility for build-tools-2.2.0-alpha6 #118
Conversation
Thanks for the pull request. I don't want to merge this into the mainline since this would make the plugin depend on alpha software. It's good to know that it does currently work but will want to hold off for now. If you could add a comment to the |
Sure, I've expected that there will be no release with alpha dependency. I've just wanted to make sure that plugin will not stop working with final 2.2 build tools. |
Thanks! Yeah, as soon as the latest tools get pushed I'll merge this and drop the |
Is there any temporary workaround until release? |
@uKL You can: |
I did the first one and added classpath dependency to a jar file, within the project. Thanks! |
You should also be able to pull this branch and do |
It's easier to rely on a JAR dependency (I don't have to compile it each time on my CI). But thanks! |
Is this to be merged and incorporated into a release anytime soon? Just stumbled over this issue while setting up spock for our Android project. |
AFAIK it will be merged once build tools/AS 2.2 will be released. They are currently at RC so it will probably be soon. |
Awesome, that's great to hear! :) Then we'll probably postpone our On Fri, 16 Sep 2016, 18:07 Sebastian Kacprzak, notifications@github.com
|
@@ -27,7 +27,7 @@ import static groovyx.internal.TestProperties.compileSdkVersion | |||
* Complete test suite to ensure the plugin works with the different versions of android gradle plugin. | |||
* This will only be run if the system property of 'allTests' is set to true | |||
*/ | |||
@IgnoreIf({ !allTests }) | |||
@IgnoreIf({ false }) |
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.
Why was this changed?
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.
No good reason, it was accident. I'll revert that. I wanted to make sure that this tests run locally, but unfortunately I did up committing that.
Can you bump to 2.2.0-rc2 and rebase so I can put this into master. The people can try it out as a snapshot. |
@pieces029 I did bump the build tools version, but now I have issue with |
Which test is failing? I've seen this before where the Android Team changes external dependencies so older tests need to be changed a little bit. |
Reason:
|
Whoa, so it looks like they all need 2.14.1? |
Could you squash your commits and I'll get this merged in? I take a look at the weird gradle compatibility stuff later. |
- This commit also updates wrapper to 2.14.1 which is required by newer build tools - It possibly introduces compatiblity problems for older gradle wrapper versions
57a65c0
to
2cc96f1
Compare
Sure, I've squashed the commits. Thanks for taking a look on a compatibility issue. |
Cool, Thanks! |
-Bumps build tools version so it works with currently newest alpha of build tools (hopefully it will work with final 2.2.0)
-
globalScope
property for some reason returnedTransformGlobalScope
instead ofGlobalScope
. CallinggetGlobalScope()
seems to return value that we want.-Please verify whether I've updated
FullCompilationSpec
correctly.