So it looks like this might be workaround-able...
---------- Forwarded message ----------
From: "Szczepan Faber (JIRA)" <issues(a)gradle.org>
Date: Apr 4, 2011 10:46 AM
Subject: [
issues.gradle.org] Commented: (GRADLE-1174) The IdeaPlugin defines
all of $buildDir as excluded
To: <steve(a)hibernate.org>
[
http://issues.gradle.org/browse/GRADLE-1174?page=com.atlassian.jira.plugi...]
Szczepan Faber commented on GRADLE-1174:
----------------------------------------
I think following workarounds should help:
ideaModule {
//manipulate the default excludeDirs:
excludeDirs -= "someFolderIDontWantToExclude"
//or prepare your own list of excludeDirs:
excludeDirs = [project.file('.gradle'),
"$project.buildDir/excludeMe"] as
Set
}
The IdeaPlugin defines all of $buildDir as excluded
---------------------------------------------------
Key: GRADLE-1174
URL:
http://issues.gradle.org/browse/GRADLE-1174
Project: Gradle
Issue Type: Bug
Components: Idea
Reporter: Steve Ebersole
Fix For: 1.0-milestone-2
The {{IdeaPlugin}} defines all of {{$buildDir}} as excluded which messes
up
attempts to use, for example, generated sources such as from Antlr which
writes to {{$buildDir/generated-src/antlr/}}.
Therefore declarations such as
{code}
ideaModule {
sourceDirs.add( file( '$buildDir/generated-src/antlr/main' ) )
}
{code}
have no effect
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira