This is an automated email from the ASF dual-hosted git repository.
sdanilov pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git
The following commit(s) were added to refs/heads/main by this push:
new 6aa9414917 IGNITE-18340 Gradle build doesn't produce OpenAPI spec
(#1413)
6aa9414917 is described below
commit 6aa94149171739b9b005eea9fdc060e5eca36697
Author: Vadim Pakhnushev <[email protected]>
AuthorDate: Tue Dec 13 11:19:05 2022 +0300
IGNITE-18340 Gradle build doesn't produce OpenAPI spec (#1413)
---
modules/rest/build.gradle | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/modules/rest/build.gradle b/modules/rest/build.gradle
index 1ba71f2c00..3dc864680b 100644
--- a/modules/rest/build.gradle
+++ b/modules/rest/build.gradle
@@ -42,3 +42,8 @@ dependencies {
testImplementation project(':ignite-configuration')
testImplementation libs.slf4j.jdk14
}
+
+compileJava {
+ options.fork = true
+ options.forkOptions.jvmArgs +=
'-Dmicronaut.openapi.config.file=openapi/openapi.properties'
+}