FINERACT-1984: OAuth2.1
This commit is contained in:
committed by
Arnold Gálovics
parent
0c0d8592bb
commit
fa9c7b9364
@@ -52,7 +52,8 @@ task buildJavaSdk(type: org.openapitools.generator.gradle.plugin.tasks.GenerateT
|
||||
useRxJava2: 'false',
|
||||
library: 'retrofit2',
|
||||
hideGenerationTimestamp: 'true',
|
||||
containerDefaultToNull: 'true'
|
||||
containerDefaultToNull: 'true',
|
||||
oauth2Implementation: 'none'
|
||||
]
|
||||
generateModelTests = false
|
||||
generateApiTests = false
|
||||
@@ -137,7 +138,16 @@ task cleanupGeneratedJavaFiles() {
|
||||
|
||||
inputs.dir(tempDir)
|
||||
outputs.dir(targetDir)
|
||||
|
||||
|
||||
//TODO: remove harcoded, autogenerated Oltu's OAuthOkHttpClient.java from the generated files
|
||||
doFirst {
|
||||
delete fileTree(tempDir) {
|
||||
include "src/main/java/org/apache/fineract/client/auth/OAuthOkHttpClient.java"
|
||||
}
|
||||
delete fileTree(targetDir) {
|
||||
include "src/main/java/org/apache/fineract/client/auth/OAuthOkHttpClient.java"
|
||||
}
|
||||
}
|
||||
doLast {
|
||||
copy {
|
||||
from tempDir
|
||||
|
||||
Reference in New Issue
Block a user