fix(fullstack): Move legalconsenthub.yml API to root
This commit is contained in:
@@ -2,17 +2,20 @@ FROM eclipse-temurin:21-jdk-alpine AS builder
|
||||
|
||||
WORKDIR /workspace/app
|
||||
|
||||
COPY gradlew .
|
||||
COPY gradle gradle
|
||||
COPY build.gradle .
|
||||
COPY settings.gradle .
|
||||
COPY api api
|
||||
RUN mkdir -p ../api
|
||||
|
||||
COPY api/legalconsenthub.yml ../api/
|
||||
|
||||
COPY legalconsenthub-backend/gradlew .
|
||||
COPY legalconsenthub-backend/gradle gradle
|
||||
COPY legalconsenthub-backend/build.gradle .
|
||||
COPY legalconsenthub-backend/settings.gradle .
|
||||
|
||||
RUN chmod +x ./gradlew
|
||||
|
||||
RUN ./gradlew dependencies --no-daemon
|
||||
|
||||
COPY src src
|
||||
COPY legalconsenthub-backend/src src
|
||||
|
||||
RUN ./gradlew bootJar -x test --no-daemon
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -88,7 +88,7 @@ tasks.named('test') {
|
||||
|
||||
task generate_legalconsenthub_server(type: org.openapitools.generator.gradle.plugin.tasks.GenerateTask) {
|
||||
generatorName = 'kotlin-spring'
|
||||
inputSpec = "$rootDir/api/legalconsenthub.yml".toString()
|
||||
inputSpec = "$rootDir/../api/legalconsenthub.yml".toString()
|
||||
outputDir = generatedSourcesServerLegalconsenthubDir
|
||||
apiPackage = 'com.betriebsratkanzlei.legalconsenthub_api.api'
|
||||
modelPackage = 'com.betriebsratkanzlei.legalconsenthub_api.model'
|
||||
|
||||
Reference in New Issue
Block a user