|
|
|
@ -12,8 +12,7 @@
|
|
|
|
|
<serialization.version>1.5.0</serialization.version>
|
|
|
|
|
<ktor_version>2.3.4</ktor_version>
|
|
|
|
|
<kotlin.code.style>official</kotlin.code.style>
|
|
|
|
|
<kotlin_version>1.9.10</kotlin_version>
|
|
|
|
|
<logback_version>1.4.11</logback_version>
|
|
|
|
|
<logback_version>1.4.14</logback_version>
|
|
|
|
|
<slf4j_version>2.0.9</slf4j_version>
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
|
|
<kotlin.compiler.incremental>true</kotlin.compiler.incremental>
|
|
|
|
@ -42,6 +41,16 @@
|
|
|
|
|
<artifactId>ktor-server-netty-jvm</artifactId>
|
|
|
|
|
<version>${ktor_version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.github.smiley4</groupId>
|
|
|
|
|
<artifactId>ktor-swagger-ui</artifactId>
|
|
|
|
|
<version>2.7.4</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.ktor</groupId>
|
|
|
|
|
<artifactId>ktor-server-swagger-jvm</artifactId>
|
|
|
|
|
<version>${ktor_version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.ktorm</groupId>
|
|
|
|
|
<artifactId>ktorm-core</artifactId>
|
|
|
|
@ -101,7 +110,7 @@
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
|
<artifactId>kotlin-test-junit</artifactId>
|
|
|
|
|
<version>${kotlin_version}</version>
|
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
|
<scope>test</scope>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
@ -120,6 +129,11 @@
|
|
|
|
|
<artifactId>ktor-server-auth-jvm</artifactId>
|
|
|
|
|
<version>2.3.4</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
|
<artifactId>kotlin-stdlib</artifactId>
|
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>com.auth0</groupId>
|
|
|
|
|
<artifactId>java-jwt</artifactId>
|
|
|
|
@ -130,6 +144,11 @@
|
|
|
|
|
<artifactId>ktor-server-auth-jwt-jvm</artifactId>
|
|
|
|
|
<version>2.3.4</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>io.swagger.codegen.v3</groupId>
|
|
|
|
|
<artifactId>swagger-codegen-generators</artifactId>
|
|
|
|
|
<version>1.0.38</version>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
<build>
|
|
|
|
|
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
|
|
|
|
@ -143,7 +162,7 @@
|
|
|
|
|
<plugin>
|
|
|
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
|
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
|
|
|
<version>${kotlin_version}</version>
|
|
|
|
|
<version>${kotlin.version}</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<jvmTarget>1.8</jvmTarget>
|
|
|
|
|
</configuration>
|
|
|
|
|