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

Using unsupported Gradle version deadlocks the plugin #585

Closed
brunobowden opened this issue Jan 12, 2016 · 0 comments
Closed

Using unsupported Gradle version deadlocks the plugin #585

brunobowden opened this issue Jan 12, 2016 · 0 comments
Assignees

Comments

@brunobowden
Copy link
Contributor

If you use the plugin with an unsupported version (e.g. Gradle 2.3), then it will throw an exception explaining to upgrade to version 2.4. If you then modify the build.gradle file to configure version 2.4 and then use the gradlew wrapper task to update the Gradle version, the problem is that the plugin will still crash with the same "Unsupported Gradle version". That means that it's impossible to use any Gradle task until the version is changed.

The plugin should only throw an exception when the j2objcTranslate task is called and not when the plugin is simply configured.

@brunobowden brunobowden self-assigned this Jan 12, 2016
brunobowden added a commit to brunobowden/j2objc-gradle that referenced this issue Jan 12, 2016
- Throws explanatory error for gradle version 2.9 or later
- Meant to be temporary until j2objc-contrib#568 is fixed
- Fixes j2objc-contrib#581 (Gradle 2.9 unsupported message)
- Fixes j2objc-contrib#585 (Gradle deadlock on unsupported version)
brunobowden added a commit to brunobowden/j2objc-gradle that referenced this issue Jan 12, 2016
- Throws explanatory error for gradle version 2.9 or later
- Meant to be temporary until j2objc-contrib#568 is fixed
- Fixes j2objc-contrib#581 (Gradle 2.9 unsupported message)
- Fixes j2objc-contrib#585 (Gradle deadlock on unsupported version)
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

1 participant