On 27/10/2010, at 1:42 AM, Rene Groeschke wrote: > Hi there, > a colleage of mine has the following problem: in a multiproject build he > builds a multiproject build, where one project is a war. in the same > multiproject a simulator project references this war project in the > compile classpath. > > Even though we enabled the jar task of the war project to create the > according jar, the compile classpath of the simulator project references > the war file. how can change this to refererence to the jar file instead > of the war file?
This is http://jira.codehaus.org/browse/GRADLE-687 You can add the jar back into the archives configuration by doing something like this in the war project: artifacts { archives jar } This causes problems, however, if you're publishing the artifacts to a maven repository. -- Adam Murdoch Gradle Developer http://www.gradle.org CTO, Gradle Inc. - Gradle Training, Support, Consulting http://www.gradle.biz
