tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject git commit: Tweak the build file for compatibility with Gradle 1.0-rc-3
Date Wed, 16 May 2012 21:58:56 GMT
Updated Branches:
  refs/heads/5.3 156c6ed38 -> 318e031fb


Tweak the build file for compatibility with Gradle 1.0-rc-3


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/318e031f
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/318e031f
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/318e031f

Branch: refs/heads/5.3
Commit: 318e031fb3e8580fba9b47b3cd09abf5b8d0d69b
Parents: 156c6ed
Author: Howard M. Lewis Ship <hlship@apache.org>
Authored: Wed May 16 13:27:27 2012 -0700
Committer: Howard M. Lewis Ship <hlship@apache.org>
Committed: Wed May 16 14:58:27 2012 -0700

----------------------------------------------------------------------
 tapestry-core/build.gradle |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/318e031f/tapestry-core/build.gradle
----------------------------------------------------------------------
diff --git a/tapestry-core/build.gradle b/tapestry-core/build.gradle
index 9cd81cd..6c6e26d 100644
--- a/tapestry-core/build.gradle
+++ b/tapestry-core/build.gradle
@@ -55,16 +55,11 @@ task generateGrammarSource(type: JavaExec) {
 
 ideaModule.dependsOn generateGrammarSource
 
-ideaModule.doFirst {
+def generatedDir = file("$buildDir/generated-sources")
 
-  excludeDirs -= buildDir
+def buildMinusGeneratedDir = (buildDir.listFiles() - generatedDir) as Set<File>
 
-  def generatedDir = file("$buildDir/generated-sources")
-
-  def buildMinusGeneratedDir = (buildDir.listFiles() - generatedDir) as Set<File>
-
-  excludeDirs += buildMinusGeneratedDir
-}
+idea.module.excludeDirs += buildMinusGeneratedDir
 
 compileJava.options.fork(memoryMaximumSize: '512m')
 compileJava.dependsOn generateGrammarSource


Mime
View raw message