Update maven and gradle project definition

This commit is contained in:
Alex
2016-02-02 21:56:42 +06:00
parent 40400e3657
commit af2c66cb97
4 changed files with 153 additions and 177 deletions

View File

@@ -89,8 +89,9 @@ public class JavaResteasyServerCodegen extends JavaClientCodegen implements Code
}
supportingFiles.clear();
// supportingFiles.add(new SupportingFile("pom.mustache", "", "pom.xml"));
supportingFiles.add(new SupportingFile("pom.mustache", "", "pom.xml"));
supportingFiles.add(new SupportingFile("gradle.mustache", "", "build.gradle"));
supportingFiles.add(new SupportingFile("settingsGradle.mustache", "", "settings.gradle"));
supportingFiles.add(new SupportingFile("README.mustache", "", "README.md"));
supportingFiles.add(new SupportingFile("ApiException.mustache",
(sourceFolder + '/' + apiPackage).replace(".", "/"), "ApiException.java"));