@@ -2,6 +2,8 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
22import org.gradle.api.tasks.testing.logging.TestExceptionFormat
33import org.gradle.api.tasks.testing.logging.TestLogEvent
44
5+ val kotlinVersion: String = " 1.5.31"
6+
57plugins {
68 kotlin(" jvm" ) version " 1.5.31"
79 id(" com.github.johnrengelman.shadow" ) version " 6.1.0"
@@ -13,8 +15,6 @@ repositories {
1315
1416group = " com.github.holgerbrandl.kscript.launcher"
1517
16- val kotlinVersion: String = " 1.5.31"
17-
1818tasks.test {
1919 useJUnitPlatform()
2020
@@ -41,20 +41,19 @@ dependencies {
4141
4242 implementation(" org.jetbrains.kotlin:kotlin-scripting-common:$kotlinVersion " )
4343 implementation(" org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion " )
44+ implementation(" org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2" )
4445
45- // WARN: resolving artifacts with kotlin-scripting in 1.5.31 doesn't work, so that's why 1.4.32
46- // Alternative is Maven Archeologist: https://github.com/square/maven-archeologist
47- implementation(" org.jetbrains.kotlin:kotlin-scripting-jvm:1.4.32" )
48- implementation(" org.jetbrains.kotlin:kotlin-scripting-dependencies:1.4.32" )
49- implementation(" org.jetbrains.kotlin:kotlin-scripting-dependencies-maven:1.4.32" )
46+ implementation(" org.jetbrains.kotlin:kotlin-scripting-jvm:$kotlinVersion " )
47+ implementation(" org.jetbrains.kotlin:kotlin-scripting-dependencies:$kotlinVersion " )
48+ implementation(" org.jetbrains.kotlin:kotlin-scripting-dependencies-maven:$kotlinVersion " )
5049
5150 implementation(" commons-io:commons-io:2.11.0" )
5251 implementation(" commons-codec:commons-codec:1.15" )
5352
5453 implementation(" org.slf4j:slf4j-nop:1.7.32" )
5554
56- testImplementation(" org.junit.jupiter:junit-jupiter-engine:5.8.1 " )
57- testImplementation(" org.junit.jupiter:junit-jupiter-params:5.8.1 " )
55+ testImplementation(" org.junit.jupiter:junit-jupiter-engine:5.8.2 " )
56+ testImplementation(" org.junit.jupiter:junit-jupiter-params:5.8.2 " )
5857 testImplementation(" com.willowtreeapps.assertk:assertk-jvm:0.25" )
5958 testImplementation(" io.mockk:mockk:1.12.1" )
6059
0 commit comments