fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vorbur...@apache.org
Subject [fineract] branch develop updated: FINERACT-1231: SDK Swagger Java Client generated utilities are broken and should be removed from JAR
Date Wed, 21 Oct 2020 15:28:01 GMT
This is an automated email from the ASF dual-hosted git repository.

vorburger pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new e2aa84a  FINERACT-1231: SDK Swagger Java Client generated utilities are broken and
should be removed from JAR
e2aa84a is described below

commit e2aa84a802ab34b4715f2e4a42215989ebcbbb33
Author: Aleksandar Vidakovic <aleks@apache.org>
AuthorDate: Wed Oct 21 09:26:51 2020 +0200

    FINERACT-1231: SDK Swagger Java Client generated utilities are broken and should be removed
from JAR
---
 build.gradle                              |  3 ++-
 fineract-client/.openapi-generator-ignore | 11 +++++++++++
 fineract-client/build.gradle              |  1 +
 3 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/build.gradle b/build.gradle
index 2cead99..e3aae09 100644
--- a/build.gradle
+++ b/build.gradle
@@ -206,7 +206,7 @@ allprojects  {
     // https://github.com/diffplug/spotless/tree/main/plugin-gradle
     spotless {
         format 'misc', {
-            target '**/*.md', '**/*.properties', '**/.gitignore', '**/*.yml', '**/*.xml',
'**/**.json', '**/*.sql'
+            target '**/*.md', '**/*.properties', '**/.gitignore', '**/.openapi-generator-ignore',
'**/*.yml', '**/*.xml', '**/**.json', '**/*.sql'
             targetExclude '**/build/**', '**/bin/**', '**/.settings/**', '**/.idea/**', '**/.gradle/**',
'**/gradlew.bat'
             indentWithSpaces(4)
             endWithNewline()
@@ -282,6 +282,7 @@ allprojects  {
             '**/bin/**',
             '**/.git/**',
             '**/.gitignore',
+            '**/.openapi-generator-ignore',
             '**/.gitkeep',
             '**/*.iml',
             '**/config/swagger/templates/**',
diff --git a/fineract-client/.openapi-generator-ignore b/fineract-client/.openapi-generator-ignore
new file mode 100644
index 0000000..b650db4
--- /dev/null
+++ b/fineract-client/.openapi-generator-ignore
@@ -0,0 +1,11 @@
+**/README.md
+**/pom.xml
+**/build.sbt
+**/*.gradle
+**/.travis.yml
+**/.gitignore
+**/git_push.sh
+**/api/*
+**/gradle*
+**/gradle
+**/src/main/AndroidManifest.xml
diff --git a/fineract-client/build.gradle b/fineract-client/build.gradle
index 9308314..bc8ab53 100644
--- a/fineract-client/build.gradle
+++ b/fineract-client/build.gradle
@@ -56,6 +56,7 @@ task buildJavaSdk(type: org.openapitools.generator.gradle.plugin.tasks.GenerateT
     ]
     generateModelTests = false
     generateApiTests = false
+    ignoreFileOverride = "$projectDir/.openapi-generator-ignore"
     // trick to make sure fineract.yaml is generated first
     dependsOn = [
         ':fineract-provider:compileJava'


Mime
View raw message