-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
44 lines (38 loc) · 1.25 KB
/
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
41
42
43
44
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.6.10"
`java-gradle-plugin`
idea
}
group = "me.joostdevries"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
val coroutinesVersion = "1.6.0"
dependencies {
implementation("org.springframework:spring-webflux:5.3.10")
implementation("io.projectreactor.netty:reactor-netty-http:1.0.12")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:$coroutinesVersion")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:$coroutinesVersion")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-reactor:$coroutinesVersion")
implementation("io.gatling.highcharts:gatling-charts-highcharts:3.3.1")
implementation(kotlin("stdlib-jdk8"))
implementation("com.github.tomakehurst:wiremock-jre8:2.31.0")
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions{
languageVersion = "1.6"
jvmTarget = "17"
freeCompilerArgs += listOf(
"-Xopt-in=kotlin.RequiresOptIn",
"-Xopt-in=kotlin.OptIn",
"-Xskip-metadata-version-check",
"-Xjsr305=strict"
)
}
}