I find that as I am experimenting with gradle's source, I am continually
remaking an explodedDist to test with. After the first normal clean build,
I will run explodedDist with a lot of -Dskip.*s, but without running clean
again. Currently, this ends up adding multiple gradle-*.jar files in the lib
directory which is problematic. Could a committer please make the following
change (or something similar) to build.gradle?
Index: build.gradle
===================================================================
--- build.gradle (revision 1423)
+++ build.gradle (working copy)
@@ -206,6 +206,7 @@
configurations.distLib.each {File file ->
copy(file: file, todir: explodedDistLibDir)
}
+ delete { fileset(dir:explodedDistLibDir,
includes:"$archivesBaseName-*.jar")}
// todo: find out why Ivy does not include the jar in the resolve
copy(file: archive_jar.archivePath, toDir: explodedDistLibDir)
copy(file: archive_wrapper_jar.archivePath, toDir: explodedDistLibDir)
--
Steve Appling
Automated Logic Research Team
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email