This was my first attempt at resolving this issue but I was unsuccessful in
achieving the goal.  I added the following code block to try to set this:

    eclipseClasspath {

        defaultOutputDir = new File(project.getProjectDir().getAbsolutePath()
+ "/eclipseBin");

    }


What I get as a result is the default output folder is set correctly but is
not used by the source folders.  Each source set (main and test) set up
their own output directories for "build/src/main" and "build/src/test"
respectively.  I would have expected each of these to use the
defaultOutputDir setting but this is not the case.  Am I missing something
in how to configure this?


--Ken



On Wed, Jan 5, 2011 at 11:01 AM, Dave King <[email protected]> wrote:

> The eclipse plugin generates an output folder for eclipse projects
> that points to the same build location as gradle uses.  I'm not a fan
> of mixing classes from Javac and the eclipse compiler, in part because
> the eclipse compiler will compile just about anything and create a
> runtime exception instead.  How can I override the output location for
> an eclipse project?
>
> - Peace
> Dave
>
>
>

Reply via email to