diff --git a/fullstack-mpp/build.gradle.kts b/fullstack-mpp/build.gradle.kts index 0632ebf3..ba8e278a 100644 --- a/fullstack-mpp/build.gradle.kts +++ b/fullstack-mpp/build.gradle.kts @@ -78,6 +78,6 @@ val backendJar = tasks.getByName("backendJar") { tasks.register("run") { dependsOn(backendJar) mainClass.set("io.ktor.samples.fullstack.backend.BackendCodeKt") - classpath = files(configurations.named("backendRuntimeClasspath").get(), tasks.named("backendJar").get()) + classpath = files(configurations.getByName("backendRuntimeClasspath"), backendJar) args = listOf() }