-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
37 lines (31 loc) · 901 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
/*
* This file was generated by the Gradle 'init' task.
*
* This is a general purpose Gradle build.
* Learn more about Gradle by exploring our samples at https://docs.gradle.org/8.1.1/samples
* This project uses @Incubating APIs which are subject to change.
*/
plugins {
// Apply the java plugin to add support for Java
java
}
java {
// This is the JDK to use for compiling the project.
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
}
repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
}
dependencies {
// Use JUnit Jupiter API for testing.
testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.1")
// Use JUnit Jupiter Engine for testing.
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.10.1")
}
tasks.test {
// Use junit platform for unit tests.
useJUnitPlatform()
}