This repository has been archived by the owner on Nov 19, 2023. It is now read-only.
forked from papsign/Ktor-OpenAPI-Generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
57 lines (46 loc) · 1.71 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
plugins {
id "org.jetbrains.kotlin.jvm" version "$kotlin_version"
id 'maven-publish'
}
group 'com.github.papsign'
version '0.2-beta.20-SNAPSHOT'
repositories {
mavenCentral()
jcenter()
}
publishing {
publications {
jarModule(MavenPublication) {
artifactId 'Ktor-OpenAPI-Generator'
from components.java
}
}
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "org.slf4j:slf4j-api:$slf4j_version"
implementation "io.ktor:ktor-server-core:$ktor_version"
implementation "io.ktor:ktor-server-host-common:$ktor_version"
implementation "io.ktor:ktor-metrics:$ktor_version"
implementation "io.ktor:ktor-server-sessions:$ktor_version"
implementation "io.ktor:ktor-jackson:$ktor_version" // needed for parameter parsing and multipart parsing
implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.9.8" // needed for multipart parsing
implementation 'org.webjars:swagger-ui:3.25.0'
implementation "org.reflections:reflections:0.9.11" // only used while initializing
testImplementation "org.jetbrains.kotlin:kotlin-test"
testImplementation "io.ktor:ktor-server-netty:$ktor_version"
testImplementation "io.ktor:ktor-server-test-host:$ktor_version"
testImplementation "ch.qos.logback:logback-classic:$logback_version"
testImplementation "io.ktor:ktor-auth:$ktor_version"
testImplementation "io.ktor:ktor-auth-jwt:$ktor_version"
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.freeCompilerArgs += ["-Xuse-experimental=kotlin.ExperimentalStdlibApi"]
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
wrapper {
gradleVersion = '7.1.1'
}