diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-01-26 08:10:49 +0100 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2020-01-26 08:11:48 +0100 |
commit | b712a014e41860fa3698bd90dab9ffde9830e1ff (patch) | |
tree | 5e3c5a6e8b387917552404c9643778a4f18d4d9b | |
parent | 0aac7c559d87de940238c91ff06c1d225d489ec5 (diff) |
Ignore node_modules in Maven and Gradle.
Change-Id: I7190cdddf4c3215caffb61fe441a0ff2329919cf
-rw-r--r-- | build.gradle | 4 | ||||
-rw-r--r-- | pom.xml | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle index 7f9b905..4a27788 100644 --- a/build.gradle +++ b/build.gradle @@ -105,4 +105,8 @@ task compileWeb { doLast {} } +processResources { + exclude("META-INF/resources/node_modules/**/*") +} + build.dependsOn compileWeb @@ -289,6 +289,16 @@ </plugin> </plugins> + <resources> + <resource> + <directory>src/main/resources</directory> + <excludes> + <exclude>META-INF/resources/node_modules/**/*</exclude> + </excludes> + <filtering>false</filtering> + </resource> + </resources> + </build> <profiles> |