-
Notifications
You must be signed in to change notification settings - Fork 14
/
build.gradle.kts
45 lines (40 loc) · 1.13 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
// Without this suppression, version catalog usage here and in other build
// files is marked red by IntelliJ:
// https://youtrack.jetbrains.com/issue/KTIJ-19369.
@Suppress("DSL_SCOPE_VIOLATION")
plugins {
java
groovy
alias(libs.plugins.kotlin.jvm)
alias(libs.plugins.kotlin.serialization)
alias(libs.plugins.versions)
alias(libs.plugins.version.catalog.update)
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
repositories {
mavenCentral()
}
dependencies {
implementation(libs.groovy)
implementation(libs.groovy.json)
implementation(libs.groovy.swing)
implementation(libs.gson)
implementation(libs.kotlin.stdlib)
implementation(libs.kotlin.coroutines)
implementation(libs.kotlin.script.runtime)
implementation(libs.kotlinx.converter)
implementation(libs.retrofit.core)
implementation(libs.retrofit.converter)
testImplementation(libs.spock)
testImplementation(libs.assertj)
testImplementation(libs.bundles.junit)
}
tasks.test {
useJUnitPlatform {
maxParallelForks = Runtime.getRuntime().availableProcessors() / 2 + 1
}
}