-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
executable file
·56 lines (47 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
50
51
52
53
54
55
56
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.18.3")
}
}
plugins {
kotlin("jvm") version "1.7.10"
java
}
apply(plugin = "kotlinx-atomicfu")
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation(kotlin("reflect"))
testImplementation(kotlin("test-junit"))
testImplementation("org.jetbrains.kotlinx:lincheck:2.16")
testImplementation("com.amazonaws:aws-java-sdk-s3:1.12.429")
}
tasks {
test {
maxHeapSize = "6g"
}
}
sourceSets.main {
java.srcDir("src")
}
sourceSets.test {
java.srcDir("test")
}
java {
toolchain {
// TODO change to Java 13, because of spins in novel AQS
languageVersion.set(JavaLanguageVersion.of(17))
}
}
tasks.withType<Test> {
jvmArgs(
"--add-opens", "java.base/jdk.internal.misc=ALL-UNNAMED",
"--add-exports", "java.base/jdk.internal.util=ALL-UNNAMED",
"--add-exports", "java.base/sun.security.action=ALL-UNNAMED"
)
}