diff --git a/Dockerfile b/Dockerfile index c91cb67cd77299c22cac329cc25583697b50ceb1..bbdca32411825b8a009b6f10732527916e80d254 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,6 +33,7 @@ COPY gradlew . COPY nshmp-lib ../nshmp-lib COPY settings.gradle . COPY src src +COPY openapi.properties . RUN ./gradlew --no-daemon assemble \ && mv ${libs_dir}/*-all.jar ${jar_file} diff --git a/build.gradle b/build.gradle index 102c010f48f47c294982809305be7581f70615d5..f57cf204c1fdcfb6cf0314dfc6c900d7ca875499 100644 --- a/build.gradle +++ b/build.gradle @@ -118,3 +118,4 @@ task swaggerClean(type: Delete) { } clean.dependsOn swaggerClean +assemble.dependsOn swagger