-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle.kts
51 lines (40 loc) · 1.08 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
45
46
47
48
49
import java.net.URI
plugins {
kotlin("jvm") version "1.9.23"
id("maven-publish")
}
group = "gg.botlabs"
version = "2.0"
repositories {
mavenCentral()
jcenter()
maven { url = URI.create("https://jitpack.io") }
}
dependencies {
api(kotlin("stdlib"))
api("io.projectreactor:reactor-core:3.6.5")
implementation("io.projectreactor.kotlin:reactor-kotlin-extensions:1.1.1")
implementation("org.springframework:spring-webflux:6.1.6")
implementation("org.json:json:20201115")
testImplementation(platform("org.junit:junit-bom:5.7.0"))
testImplementation("org.junit.jupiter:junit-jupiter")
testImplementation("io.projectreactor:reactor-test:3.4.1")
}
tasks.withType<Test> {
useJUnitPlatform {
includeEngines("junit-jupiter")
}
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "17"
}
}
publishing {
publications {
create<MavenPublication>("maven") {
from(components["kotlin"])
}
}
}