1
+ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2
+
1
3
plugins {
4
+ kotlin(" jvm" ) version " 1.7.10"
2
5
application
3
- kotlin(" jvm" ) version " 1.4.20"
4
- }
5
-
6
- application {
7
- mainClassName = " AdventOfCodeKt"
8
6
}
9
7
10
8
group = " de.zordid"
@@ -14,22 +12,26 @@ repositories {
14
12
mavenCentral()
15
13
}
16
14
17
- tasks.withType<Test > {
18
- useJUnitPlatform()
19
- }
20
-
21
15
dependencies {
22
16
implementation(kotlin(" stdlib-jdk8" ))
23
- implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1 " )
17
+ implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4 " )
24
18
implementation(" org.reflections" , " reflections" , " 0.9.12" )
25
- implementation(" guru.nidi:graphviz-kotlin:0.17 .1" )
19
+ implementation(" guru.nidi:graphviz-kotlin:0.18 .1" )
26
20
// implementation("ch.qos.logback", "logback-classic", "1.2.3")
27
21
28
- testImplementation(" org.junit.jupiter:junit-jupiter-api:5.4.2 " )
29
- testImplementation(" org.junit.jupiter:junit-jupiter-params:5.4.2 " )
30
- testRuntimeOnly(" org.junit.jupiter:junit-jupiter-engine:5.4.2 " )
22
+ testImplementation(" org.junit.jupiter:junit-jupiter-api:5.9.0 " )
23
+ testImplementation(" org.junit.jupiter:junit-jupiter-params:5.9.0 " )
24
+ testRuntimeOnly(" org.junit.jupiter:junit-jupiter-engine:5.9.0 " )
31
25
}
32
26
33
- tasks.withType< org.jetbrains.kotlin.gradle.tasks.KotlinCompile > {
34
- kotlinOptions.jvmTarget = " 1.8"
27
+ tasks.test {
28
+ useJUnitPlatform()
29
+ }
30
+
31
+ tasks.withType<KotlinCompile > {
32
+ kotlinOptions.jvmTarget = " 17"
33
+ }
34
+
35
+ application {
36
+ mainClass.set(" AdventOfCodeKt" )
35
37
}
0 commit comments