-
Notifications
You must be signed in to change notification settings - Fork 43
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
Gradle 2.9 regression - Could not find property 'binaries' on project ':base' #568
Comments
cc @eapache |
@brunobowden we're now at the point of no return i think. |
@advayDev1 - yeah, this is unfortunate. I would like to get some others involved to help out on something like this. It'll be a while before 2.9 is common place, so we'll defer the discussion for now. Here's the updated link for the 2.9 release notes: https://docs.gradle.org/2.9/release-notes#the-binaries-container-is-no-longer-accessible-as-a-project-extension |
- Throws explanatory error for gradle version 2.9 or later - Meant to be temporary until j2objc-contrib#568 is fixed - Fixes j2objc-contrib#581
- Throws explanatory error for gradle version 2.9 or later - Meant to be temporary until j2objc-contrib#568 is fixed - Fixes j2objc-contrib#581
- Throws explanatory error for gradle version 2.9 or later - Meant to be temporary until j2objc-contrib#568 is fixed - Fixes j2objc-contrib#581
- 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)
- 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)
- 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)
any updates on supporting gradle 2.9+? |
This is issue is probably a show stopper for people trying out j2objc. Android developers are using more recent versions of gradle |
any update on supporting on current release. Is there any workaround? The workaround which is available #621 is not working with latest android plugin and gradle plugin 1.0.2 |
Adding this: System.properties['com.android.build.gradle.overrideVersionCheck'] = 'true' to the root build file, and changing the gradle wrapper to 2.8 still works. gradle/wrapper/gradle-wrapper.properties Add/change distributionUrl=https://services.gradle.org/distributions/gradle-2.8-all.zip |
+1 |
1 similar comment
+1 |
This works fine with Gradle 2.8 but fails with with 2.9-rc-1. It appears to be an intentional breakage that you'll have to deal with:
The binaries container is no longer bridged into the regular plugin space, and is now only visible to rules via model. The binaries project extension has been removed.
https://docs.gradle.org/2.9/release-notes#the-binaries-container-is-no-longer-accessible-as-a-project-extension
Caused by: groovy.lang.MissingPropertyException: Could not find property 'binaries' on project ':base'.
at org.gradle.api.internal.AbstractDynamicObject.propertyMissingException(AbstractDynamicObject.java:43)
at org.gradle.api.internal.AbstractDynamicObject.getProperty(AbstractDynamicObject.java:35)
at org.gradle.api.internal.CompositeDynamicObject.getProperty(CompositeDynamicObject.java:97)
at org.gradle.api.internal.project.DefaultProject_Decorated.getProperty(Unknown Source)
at com.github.j2objccontrib.j2objcgradle.NativeCompilation$_apply_closure2.doCall(NativeCompilation.groovy:258)
at com.github.j2objccontrib.j2objcgradle.NativeCompilation.apply(NativeCompilation.groovy:127)
at com.github.j2objccontrib.j2objcgradle.J2objcConfig.configureNativeCompilation(J2objcConfig.groovy:827)
at com.github.j2objccontrib.j2objcgradle.J2objcConfig.finalConfigure(J2objcConfig.groovy:731)
at build_15mxmbvxw4tw5xblism0ohhl9$_run_closure6.doCall(/Users/brunobowden/dev/taptap/base/build.gradle:84)
at org.gradle.api.internal.ClosureBackedAction.execute(ClosureBackedAction.java:67)
at org.gradle.api.internal.plugins.ExtensionsStorage$ExtensionHolder.configure(ExtensionsStorage.java:145)
at org.gradle.api.internal.plugins.ExtensionsStorage.configureExtension(ExtensionsStorage.java:69)
at org.gradle.api.internal.plugins.DefaultConvention$ExtensionsDynamicObject.invokeMethod(DefaultConvention.java:207)
at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:150)
at org.gradle.groovy.scripts.BasicScript.methodMissing(BasicScript.java:79)
at build_15mxmbvxw4tw5xblism0ohhl9.run(/Users/brunobowden/dev/taptap/base/build.gradle:56)
at org.gradle.groovy.scripts.internal.DefaultScriptRunnerFactory$ScriptRunnerImpl.run(DefaultScriptRunnerFactory.java:91)
... 95 more
The text was updated successfully, but these errors were encountered: