-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle.kts
59 lines (51 loc) · 1.78 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
50
51
52
53
54
55
56
57
58
59
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
id("org.springframework.boot") version "3.0.1"
id("io.spring.dependency-management") version "1.1.0"
id("com.adarshr.test-logger") version "3.2.0"
kotlin("jvm") version "1.7.0"
kotlin("plugin.spring") version "1.7.0"
id("groovy")
}
group = "io.curity"
version = "0.0.1-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-webflux:3.1.1")
implementation("org.springframework.session:spring-session-core:3.1.1")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.14.1")
implementation("org.bitbucket.b_c:jose4j:0.9.2")
implementation("org.jetbrains.kotlin:kotlin-reflect")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-reactor:1.6.4")
implementation("org.apache.commons:commons-crypto:1.1.0")
implementation("org.apache.groovy:groovy:4.0.7")
implementation("org.apache.groovy:groovy-json:4.0.7")
testImplementation("org.springframework.boot:spring-boot-starter-test:3.1.1")
testImplementation("org.spockframework:spock-spring:2.3-groovy-4.0")
testImplementation("com.github.tomakehurst:wiremock-jre8-standalone:2.35.0")
testImplementation("org.apache.httpcomponents.client5:httpclient5:5.2.1")
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
tasks.withType<KotlinCompile> {
kotlinOptions {
freeCompilerArgs = listOf("-Xjsr305=strict")
jvmTarget = "17"
incremental = false
}
}
tasks.withType<Test> {
useJUnitPlatform()
jvmArgs = listOf(
"-Dsun.net.http.allowRestrictedHeaders=true"
)
include("**/*Spec.class")
testLogging.showStandardStreams = false
}