Gradle build failure

309 views
Skip to first unread message

Ken Krugler

unread,
Aug 23, 2016, 9:41:27 AM8/23/16
to cascadi...@googlegroups.com
Hi Chris & André,

I was trying to build the Eclipse files for Cascading 2.7.1, so from the top I ran “gradle eclipse”.

I get the following error:

Changed dependencies of configuration ':cascading-core:compile' after it has been included in dependency resolution. This behaviour has been deprecated and is scheduled to be removed in Gradle 3.0.
Changed dependencies of parent of configuration ':cascading-core:provided' after it has been resolved. This behaviour has been deprecated and is scheduled to be removed in Gradle 3.0

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/kenkrugler/git/cascading-2.7.1/cascading-core/build.gradle' line: 27

* What went wrong:
A problem occurred evaluating project ':cascading-core'.
> Cannot change dependencies of configuration ':cascading-core:provided' after it has been resolved.

This is with gradle 2.12 on Mac OS X 10.11.5

Is this a known issue? Any workaround?

Thanks,

— Ken


--------------------------
Ken Krugler
custom big data solutions & training
Hadoop, Cascading, Cassandra & Solr



Andre Kelpe

unread,
Aug 23, 2016, 10:27:12 AM8/23/16
to cascading-user
Cascading 2.x only builds with gradle 1.x, if I recall correctly.
Using 1.11 should work fine. Otherwise you can backport this commit to
make it work with gradle versions newer than 2.3:

https://github.com/Cascading/cascading/commit/5dd74cce7c116e158a9841fbfcd9126025bd59ca

- André
> --
> You received this message because you are subscribed to the Google Groups
> "cascading-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to cascading-use...@googlegroups.com.
> To post to this group, send email to cascadi...@googlegroups.com.
> Visit this group at https://groups.google.com/group/cascading-user.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/cascading-user/194CCFD9-1B30-42E7-A86B-6022504988FF%40transpac.com.
> For more options, visit https://groups.google.com/d/optout.



--
André Kelpe
an...@concurrentinc.com
http://concurrentinc.com
Reply all
Reply to author
Forward
0 new messages