java.lang.IllegalArgumentException: Could not determine java version from '1.9.0-ea'.

I receive the follow exception in Eclipse. I think the plugin use version 1.10 of gradle. Does a newer version of gradle solve this problem?

java.lang.IllegalArgumentException: Could not determine java version from ‘1.9.0-ea’.

at org.gradle.api.JavaVersion.toVersion(JavaVersion.java:63)

at org.gradle.api.JavaVersion.current(JavaVersion.java:72)

at org.gradle.internal.jvm.Jvm.(Jvm.java:84)

at org.gradle.internal.jvm.Jvm.create(Jvm.java:63)

at org.gradle.internal.jvm.Jvm.current(Jvm.java:49)

at org.gradle.tooling.internal.provider.PayloadSerializer.(PayloadSerializer.java:48)

at org.gradle.tooling.internal.provider.ConnectionScopeServices.createProviderConnection(ConnectionScopeServices.java:41)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63)

at org.gradle.internal.service.DefaultServiceRegistry.invoke(DefaultServiceRegistry.java:315)

at org.gradle.internal.service.DefaultServiceRegistry.access$1000(DefaultServiceRegistry.java:53)

at org.gradle.internal.service.DefaultServiceRegistry$FactoryMethodService.invokeMethod(DefaultServiceRegistry.java:602)

I switch to version 1.12 and this solve the problem.

How did you upgrade the Gradle within the plugin?

In the Eclipse preferences for Gradle I have enter the follow URI for the Gradle Distribution:

http://services.gradle.org/distributions/gradle-1.12-bin.zip

Perfect, thank you!