On Mon, Dec 21, 2009 at 1:56 PM, Roger Studner <[email protected]> wrote:

> Is there a concrete way to put certain jars at the beginning of the gradle
> classpath for compilation?
>
> (am I to guess, "the order you define them is the order they are used" :)?
>

They are stored in linked hash sets. So they are used in the order they are
defined. But you have some more control.

For example:

ant.java(classname:'com.
google.gwt.dev.Compiler',
             failOnError: 'true',
             fork: 'true',
             classpath: (files(srcPath) + configurations.gwtCompile).asPath)
{

This would put srcPath before the gwtCompile files.

What is your use case?

- Hans

--
Hans Dockter
Gradle Project Manager
http://www.gradle.org


>
> Roger
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

Reply via email to