-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
40 lines (32 loc) · 997 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
plugins {
java
id("io.spring.dependency-management") version "1.0.10.RELEASE"
id("org.springframework.boot") version "2.4.0"
}
repositories {
mavenCentral()
}
java {
// Remove "--enable-preview" below for "record", probably version 16
sourceCompatibility = JavaVersion.VERSION_15
targetCompatibility = JavaVersion.VERSION_15
}
dependencies {
// Production code dependencies
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation(files("libs/interactive-brokers-api-9.72.18.jar"))
// Test code dependencies
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.projectreactor:reactor-test")
}
tasks.withType<JavaCompile> {
options.compilerArgs.add("--enable-preview")
}
tasks.test {
useJUnitPlatform()
jvmArgs("--enable-preview")
}
tasks.wrapper {
gradleVersion = "6.7.1"
}