You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by cc...@apache.org on 2017/12/17 14:02:03 UTC

[52/62] [abbrv] groovy git commit: Remove unnecessary `copyResources`

Remove unnecessary `copyResources`


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/d389d26c
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/d389d26c
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/d389d26c

Branch: refs/heads/GROOVY_2_6_X
Commit: d389d26cd3aabdc41745c621dfd6c40171f23f37
Parents: 0edfcde
Author: Cedric Champeau <cc...@apache.org>
Authored: Thu Dec 14 11:39:09 2017 +0100
Committer: Cedric Champeau <cc...@apache.org>
Committed: Sun Dec 17 14:28:31 2017 +0100

----------------------------------------------------------------------
 build.gradle | 16 ----------------
 1 file changed, 16 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/d389d26c/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index f8737b4..4b96673 100644
--- a/build.gradle
+++ b/build.gradle
@@ -112,22 +112,6 @@ allprojects {
     }
 }
 
-// todo: use the conventional "resources" directory for classpath resources
-task(copyResources, type: Copy) {
-    destinationDir = file("$buildDir/classes")
-    // text files requiring filtering
-    into('main') {
-        from('src/main')
-        include('**/*.txt', '**/*.xml', '**/*.properties', '**/*.html')
-        filter(rootProject.propertiesFilter, org.apache.tools.ant.filters.ReplaceTokens)
-    }
-    // other resources
-    into('main') {
-        from 'src/main'
-        include('**/*.png', '**/*.gif', '**/*.ico', '**/*.css')
-    }
-}
-jar.dependsOn(copyResources)
 task(copyTestResources, type: Copy)
         .from('src/test')
         .into("$buildDir/classes/test")