IntelliJ has some restrictions on having content root somewhere else than
under the project root. Because we create source code during the build we
have source folders under the build so it may not be happy with that.

I'm not 100% sure though.


On Mon, Jun 9, 2014 at 2:43 AM, Martin Rajniak <[email protected]> wrote:

> Hey,
> I am trying to find something to speed up my incremental builds with
> gradle. Current is 40s - 60s.
>
> What I was thinking was to target buildDir to RAM Disk folder.
>
> My multiproject setup includes one Android project and a Java library.
> When I change buildDir property in the specific project build files it
> works, but Android Studio project layout doesn't like it very much.
>
>   buildDir = 'G:/root/android_project/build'
>
>   buildDir = 'G:/root/library/build'
>
> I would think that I need to change the property in root build file, but
> when I do that I get an error that Android Studio cannot find build folder
> and thus some of the IDE features might not work.
>
>   buildDir = 'G:/root/build'
>
> What should be the correct setup for this?
>
> --
> You received this message because you are subscribed to the Google Groups
> "adt-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to