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

Latest version of the Android Plugin for Gradle (2.0.0) requires Gradle 2.10 or later #613

Open
adil-hussain-84 opened this issue Apr 12, 2016 · 2 comments

Comments

@adil-hussain-84
Copy link

The latest version of the Android Plugin for Gradle (2.0.0) released recently requires Gradle 2.10 or later.

The latest version of the J2ObjC Gradle plugin (0.6.0-alpha) requires Gradle 2.8 and does not work with later versions of Gradle.

Thus any project which uses the latest version of the Android Plugin for Gradle cannot use the J2ObjC Gradle plugin as it currently stands. This together with the inability to use the latest version of the J2ObjC library (1.+) means I'm going to have to drop the J2ObjC Gradle plugin for now. It worked well when it did but at this point the cost is too high :-(

@Smartertime
Copy link

You can work around the version checking in your application build.gradle :

buildscript {
    ...
    System.properties['com.android.build.gradle.overrideVersionCheck'] = 'true'
}

Not a good permanent solution, but so far had no problem compiling with the 2.0.0 android gradle plugin (mandatory with the new 2.0 Android Studio) and 2.8 gradle.

@pdalfarr
Copy link

is support for gradle 2.10 coming...?

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

No branches or pull requests

3 participants