How to build dependent Xcore projects with Gradle

I have two Xcore projects; one imports the other. I also have a parent gradle file. When I try to build the project with Gradle, the generateXtext task fails when building the second Xcore project.

Task :com.selinc.flisr.project.model:generateXtext FAILED ERROR:DiagramModel cannot be resolved to a type.

Everything works properly in Eclipse, but Gradle cannot seem to resolve the dependency to the first Xcore project's output. Is there some specific way that I need to tell Gradle how to resolve this dependency?

Read more here:

Content Attribution

This content was originally published by integragreg at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: