aboutsummaryrefslogtreecommitdiff
path: root/server/swagger/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'server/swagger/build.gradle.kts')
-rw-r--r--server/swagger/build.gradle.kts17
1 files changed, 17 insertions, 0 deletions
diff --git a/server/swagger/build.gradle.kts b/server/swagger/build.gradle.kts
new file mode 100644
index 0000000..76e5f78
--- /dev/null
+++ b/server/swagger/build.gradle.kts
@@ -0,0 +1,17 @@
+plugins {
+ `java-library`
+ kotlin("jvm")
+ kotlin("plugin.serialization")
+}
+
+
+dependencies {
+ declareKtorVersion()
+ api("io.ktor:ktor-server-core")
+ api("sh.ondr:kotlin-json-schema:0.1.1")
+ implementation("org.webjars:swagger-ui:5.18.2")
+}
+
+java {
+ toolchain.languageVersion.set(JavaLanguageVersion.of(21))
+}