From 42761a5a46408067325769cccfda543ffbcd01bf Mon Sep 17 00:00:00 2001 From: Pierre Millot Date: Tue, 26 Apr 2022 14:28:15 +0200 Subject: [PATCH] remove gitgnore from mustache --- .../algolia/codegen/AlgoliaJavaGenerator.java | 3 ++- templates/java/gitignore.mustache | 19 ------------------- 2 files changed, 2 insertions(+), 20 deletions(-) delete mode 100644 templates/java/gitignore.mustache diff --git a/generators/src/main/java/com/algolia/codegen/AlgoliaJavaGenerator.java b/generators/src/main/java/com/algolia/codegen/AlgoliaJavaGenerator.java index 375645ec819..336004d4302 100644 --- a/generators/src/main/java/com/algolia/codegen/AlgoliaJavaGenerator.java +++ b/generators/src/main/java/com/algolia/codegen/AlgoliaJavaGenerator.java @@ -238,7 +238,8 @@ public void processOpts() { supportingFiles.removeIf(file -> file.getTemplateFile().equals("build.gradle.mustache") || - file.getTemplateFile().equals("settings.gradle.mustache") + file.getTemplateFile().equals("settings.gradle.mustache") || + file.getTemplateFile().equals("gitignore.mustache") ); } diff --git a/templates/java/gitignore.mustache b/templates/java/gitignore.mustache deleted file mode 100644 index ca4ac1f99c8..00000000000 --- a/templates/java/gitignore.mustache +++ /dev/null @@ -1,19 +0,0 @@ -*.class - -# Mobile Tools for Java (J2ME) -.mtj.tmp/ - -# Package Files # -*.war -*.ear - -# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml -hs_err_pid* - -# build files -**/target -target -.gradle -build - -.openapi-generator