diff options
Diffstat (limited to 'openapi/client-portal-keycloak/build.gradle')
-rw-r--r-- | openapi/client-portal-keycloak/build.gradle | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/openapi/client-portal-keycloak/build.gradle b/openapi/client-portal-keycloak/build.gradle new file mode 100644 index 0000000..f01cf4b --- /dev/null +++ b/openapi/client-portal-keycloak/build.gradle @@ -0,0 +1,25 @@ +apply plugin: 'org.openapi.generator' + +dependencies { + implementation "org.springframework.boot:spring-boot-starter-webflux" + implementation "org.openapitools:openapi-generator:$openapiVersion" +} + +compileJava { + createOpenApiGenerateClientTask(project, "portal_keycloak_openapi.yaml", "client_portal_keycloak", "KeycloakDto") + dependsOn = [':openapi:openApiGenerate_client_portal_keycloak'] +} + +sourceSets { + main { + java { + srcDirs += file("$buildDir/openapi/src/main/java") + } + } +} + +idea { + module { + generatedSourceDirs += file("$buildDir/openapi/src/main/java") + } +} |