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

Dependency problem #4

Closed
bgoetzmann opened this issue Aug 2, 2014 · 2 comments
Closed

Dependency problem #4

bgoetzmann opened this issue Aug 2, 2014 · 2 comments

Comments

@bgoetzmann
Copy link

Hi,

I just tried Grain by following the "Getting Started", but when I run "gradlew", I get the following build failure:

D:\odelia\grain>gradlew
:compileJava UP-TO-DATE
:compileGroovy

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not resolve all dependencies for configuration ':compile'.

    Unexpected state Evicted for parent node for dependency from com.sysgears.grain:grain:0.4.2(compile) to org.codehaus.groovy:groovy:2.1.2(default).

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

I'm using JDK 7, and Windows 7.

Grain looks promising :-)

Bertrand.

@larixer
Copy link
Member

larixer commented Aug 3, 2014

Hi Bertrand,

Looks like some crazy gradle problem. Google search for "Evicted parent node" returns me only one result and when I go to that page, this error doesn't exists there...

Doesn't reproduces for me, when I download and build grain-theme-octopress with gradlew.

Could you clean gradle cache by deleting folder Documents/.gradle/caches and then run
gradlew --stacktrace
and copy paste stacktrace here?

Thanks,
Victor

@bgoetzmann
Copy link
Author

Hi Victor,

I found the reason (but can't explain it); as I see that grain-theme-octopress is a Gradle project, I renamed it for "grain", because I have the habit to have folder names in relation with projects/frameworks I test.
So, renaming the folder to its original name, it's works! I suppose there is a special use of word "grain" in the Gradle script.

Thanks for your help.

I will continue to try Grain,

Cheers,

Bertrand

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

2 participants