Skip to content
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

Fix NoSuchMethodError in Gradle 2.8 #567

Merged
merged 1 commit into from
Dec 17, 2015

Conversation

brunobowden
Copy link
Contributor

  • Gradle 2.8 build fixes (currently still built with Gradle 2.4)
  • Skip @CompileStatic for testing j2objcConfig behaviour

Fixes #566

@brunobowden
Copy link
Contributor Author

cc @eapache

@eapache
Copy link

eapache commented Nov 10, 2015

LGTM, thanks! I'd forgotten how weird groovy can be :P

- Gradle 2.8 build fixes (currently still built with Gradle 2.4)
- Skip @CompileStatic for testing j2objcConfig behaviour

Fixes j2objc-contrib#566
@brunobowden
Copy link
Contributor Author

Merging based on successful build on Appveyor before. Not sure why the Appveyor CI isn't responding now.
https://ci.appveyor.com/project/madvayApiAccess/j2objc-gradle

brunobowden added a commit that referenced this pull request Dec 17, 2015
Fix NoSuchMethodError in Gradle 2.8
@brunobowden brunobowden merged commit 8116a6e into j2objc-contrib:master Dec 17, 2015
@brunobowden
Copy link
Contributor Author

The Appveyor CI did build successfully but wasn't showing the updates correctly:
https://ci.appveyor.com/project/madvayApiAccess/j2objc-gradle/build/build86.master-hexycvbk

@advayDev1
Copy link
Contributor

lgtm

@tirrorex
Copy link

Hi guys, currently using id 'com.github.j2objccontrib.j2objcgradle' version '0.5.0-alpha'
How do we do to get this specific commit? Because i got the error refered by the issue #566
As i am the ios intern i have no clue and there is no indication to build the plugin from source to get latest modifications without release, thanks

@brunobowden
Copy link
Contributor Author

@tirrorex - aside from building the plugin, the easiest workaround is to switch to an older version of Gradle, e.g. version 2.4. Otherwise, you'll need to wait until a new version of the plugin is release, which isn't planned at the moment.

@tirrorex
Copy link

@brunobowden it is not possible for me to switch to a previous version, i did the upgrade because they did it on the android project so i have no choice actually, i wanted to build the plugin from source but there is no information on how to do it (and i didn't see any makefile so i'm kinda lost here).
Any chance to get a little tutorial?

@brunobowden
Copy link
Contributor Author

@tirrorex - v0.6.0 has now been published with this fix for Gradle 2.8. Please try it out and confirm whether it works or not for you.

Please note that we have another issue with Gradle 2.9 that's more difficult to solve, so you may be stuck on Gradle 2.8 for a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

java.lang.NoSuchMethodError running j2obcXcode in Gradle 2.8 (Regression)
4 participants