The gradle support in IDEA is quite young at the moment :)

For example it does not honour the wrapper yet. This means that you'd have
to configure gradle plugin to use exact version of gradle that your wrapper
needs.

I'll take a look what's going on with the hibernate build.

The gradle plugin is open source (shipped with the IDEA community verison)
so in theory everyone can take a look and even help.

>I had emailed their support thing about it, since I paid for a version
>of IDEA, and they said I should create an issue. I haven't gotten around
>to doing it yet

Please do. The more people ask about the better chance of higher priority
in JetBrains :)

Cheers!

On Wed, Feb 29, 2012 at 11:21 PM, Ken Sipe <kens...@gmail.com> wrote:

> I just checked this out with the latest build of intellij 11  Community
> IC-114.    I started the test with milestone-6, upon failure I tested with
> milestone-8a (the latest).  They fail for different reasons...
>
>
> milestone-6 failure:
> Can't resolve target gradle project at
> '/Users/ksipe/projects/hibernate-orm/build.gradle'.
> Reason: Can't resolve gradle project at
> '/Users/ksipe/projects/hibernate-orm/build.gradle'. Reason: gradle api
> threw an exception: org.gradle.tooling.BuildException: Could not fetch
> model of type 'BasicIdeaProject' using Gradle installation
> '/Users/ksipe/tools/gradle-1.0-milestone-6'.
>        at
> org.gradle.tooling.internal.consumer.ResultHandlerAdapter.onFailure(ResultHandlerAdapter.java:44)
>        at
>
> miestone-8a failure:
> Can't resolve target gradle project at
> '/Users/ksipe/projects/hibernate-orm/build.gradle'.
> Reason: Can't resolve gradle project at
> '/Users/ksipe/projects/hibernate-orm/build.gradle'. Reason: gradle api
> threw an exception: java.lang.NoSuchMethodError:
> org.gradle.tooling.ModelBuilder.get()Lorg/gradle/tooling/model/Element;
>        at
> org.jetbrains.plugins.gradle.remote.impl.GradleProjectResolverImpl.doResolveProjectInfo(GradleProjectResolverImpl.java:104)
>
>
> Ken Sipe | kens...@gmail.com | blog: http://kensipe.blogspot.com
>
>
>
> On Feb 29, 2012, at 10:55 AM, Steve Ebersole wrote:
>
> > The main one I am trying to get to work is the Hibernate build, which is
> of course publicly accessible:
> https://github.com/hibernate/hibernate-orm/blob/master/build.gradle
> >
> > On Tue 28 Feb 2012 01:03:24 PM CST, David Kowis wrote:
> >> On 02/28/2012 11:08 AM, Steve Ebersole wrote:
> >>> Anyone successfully gotten IntelliJ 11 to import Gradle projects?
> >>>
> >>> I have tried multiple projects now trying multiple Gradle versions and
> >>> the import fails in every case.
> >>>
> >>
> >> From JetBrains:
> >> "Please file an issue at http://youtrack.jetbrains.net/issues/IDEA with
> >> a sample file attached and the steps to reproduce the problem."
> >>
> >> I had emailed their support thing about it, since I paid for a version
> >> of IDEA, and they said I should create an issue. I haven't gotten around
> >> to doing it yet, but if one of you does, please send the issue to the
> >> list :)
> >>
> >> Thanks,
> >> David
> >>
> >
> > --
> > st...@hibernate.org
> > http://hibernate.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe from this list, please visit:
> >
> >   http://xircles.codehaus.org/manage_email
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>


-- 
Szczepan Faber
Principal engineer@gradleware
Lead@mockito

Reply via email to