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/02211cb7 Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/02211cb7 Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/02211cb7 Branch: refs/heads/GROOVY_2_5_X Commit: 02211cb7c78c0be174757140e3203e30bbcdd0f3 Parents: a188738 Author: Cedric Champeau <[email protected]> Authored: Thu Dec 14 11:39:09 2017 +0100 Committer: Cedric Champeau <[email protected]> Committed: Sun Dec 17 15:35:28 2017 +0100 ---------------------------------------------------------------------- build.gradle | 16 ---------------- 1 file changed, 16 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/groovy/blob/02211cb7/build.gradle ---------------------------------------------------------------------- diff --git a/build.gradle b/build.gradle index cd314a5..12c3dba 100644 --- a/build.gradle +++ b/build.gradle @@ -109,22 +109,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")
