You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
274 lines
10 KiB
274 lines
10 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>allin</groupId>
|
|
<artifactId>allin-api</artifactId>
|
|
<version>0.0.1</version>
|
|
<name>allin-api</name>
|
|
<description>allin-api</description>
|
|
<properties>
|
|
<kotlin.version>1.9.10</kotlin.version>
|
|
<serialization.version>1.5.0</serialization.version>
|
|
<ktor_version>2.3.11</ktor_version>
|
|
<kotlin.code.style>official</kotlin.code.style>
|
|
<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>
|
|
<main.class>allin.ApplicationKt</main.class>
|
|
</properties>
|
|
<repositories>
|
|
</repositories>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.mindrot</groupId>
|
|
<artifactId>jbcrypt</artifactId>
|
|
<version>0.4</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.ktor</groupId>
|
|
<artifactId>ktor-server-core-jvm</artifactId>
|
|
<version>${ktor_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.postgresql</groupId>
|
|
<artifactId>postgresql</artifactId>
|
|
<version>42.7.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.ktor</groupId>
|
|
<artifactId>ktor-server-netty-jvm</artifactId>
|
|
<version>${ktor_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.github.smiley4</groupId>
|
|
<artifactId>ktor-swagger-ui</artifactId>
|
|
<version>2.10.0</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>
|
|
<version>3.2.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.ktorm</groupId>
|
|
<artifactId>ktorm-support-postgresql</artifactId>
|
|
<version>3.2.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>ch.qos.logback</groupId>
|
|
<artifactId>logback-classic</artifactId>
|
|
<version>${logback_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.ktor</groupId>
|
|
<artifactId>ktor-server-tests-jvm</artifactId>
|
|
<version>${ktor_version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
<version>${slf4j_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.ktor</groupId>
|
|
<artifactId>ktor-server-core</artifactId>
|
|
<version>${ktor_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.h2database</groupId>
|
|
<artifactId>h2</artifactId>
|
|
<version>2.2.224</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.ktor</groupId>
|
|
<artifactId>ktor-server-content-negotiation-jvm</artifactId>
|
|
<version>${ktor_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.ktor</groupId>
|
|
<artifactId>ktor-server-html-builder-jvm</artifactId>
|
|
<version>${ktor_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.ktor</groupId>
|
|
<artifactId>ktor-serialization-kotlinx-json-jvm</artifactId>
|
|
<version>${ktor_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.ktor</groupId>
|
|
<artifactId>ktor-client-content-negotiation-jvm</artifactId>
|
|
<version>${ktor_version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-test-junit</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlinx</groupId>
|
|
<artifactId>kotlinx-coroutines-debug</artifactId>
|
|
<version>1.6.4</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlinx</groupId>
|
|
<artifactId>kotlinx-serialization-core-jvm</artifactId>
|
|
<version>1.5.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.ktor</groupId>
|
|
<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>
|
|
<version>4.4.0</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.ktor</groupId>
|
|
<artifactId>ktor-server-auth-jwt-jvm</artifactId>
|
|
<version>2.3.11</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>io.swagger.codegen.v3</groupId>
|
|
<artifactId>swagger-codegen-generators</artifactId>
|
|
<version>1.0.50</version>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.hamcrest</groupId>
|
|
<artifactId>hamcrest-core</artifactId>
|
|
<version>1.3</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<version>RELEASE</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory>
|
|
<testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory>
|
|
<resources>
|
|
<resource>
|
|
<directory>${project.basedir}/src/main/resources</directory>
|
|
</resource>
|
|
</resources>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<version>${kotlin.version}</version>
|
|
<configuration>
|
|
<jvmTarget>11</jvmTarget>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>compile</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>test-compile</id>
|
|
<phase>test-compile</phase>
|
|
<goals>
|
|
<goal>test-compile</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>1.2.1</version>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>java</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<mainClass>${main.class}</mainClass>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
<version>2.6</version>
|
|
<configuration>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
<archive>
|
|
<manifest>
|
|
<addClasspath>true</addClasspath>
|
|
<mainClass>${main.class}</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>assemble-all</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-maven-plugin</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
<executions>
|
|
<execution>
|
|
<id>compile</id>
|
|
<phase>compile</phase>
|
|
<goals>
|
|
<goal>compile</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<compilerPlugins>
|
|
<plugin>kotlinx-serialization</plugin>
|
|
</compilerPlugins>
|
|
</configuration>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
<artifactId>kotlin-maven-serialization</artifactId>
|
|
<version>${kotlin.version}</version>
|
|
</dependency>
|
|
</dependencies>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<source>11</source>
|
|
<target>11</target>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |