-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
40 lines (32 loc) · 948 Bytes
/
build.gradle.kts
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
val kotlinVersion = "1.6.10"
kotlin("jvm") version kotlinVersion
kotlin("kapt") version kotlinVersion
application
}
group = "com.example"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven { url = uri("https://repo.panda-lang.org/releases") }
}
val openapi = "1.1.4"
dependencies {
testImplementation(kotlin("test"))
implementation("io.javalin:javalin:4.4.0")
kapt("io.javalin-rfc:openapi-annotation-processor:$openapi")
implementation("io.javalin-rfc:javalin-openapi-plugin:$openapi")
implementation("io.javalin-rfc:javalin-swagger-plugin:$openapi")
implementation("ch.qos.logback:logback-core:1.2.11")
implementation("ch.qos.logback:logback-classic:1.2.11")
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
application {
mainClass.set("MainKt")
}