diff --git a/spring-webflux/spring-webflux.gradle b/spring-webflux/spring-webflux.gradle index 2e13db7ffd9..f3732fa774d 100644 --- a/spring-webflux/spring-webflux.gradle +++ b/spring-webflux/spring-webflux.gradle @@ -47,6 +47,7 @@ dependencies { testCompile('org.apache.httpcomponents.client5:httpclient5:5.0') testCompile('org.apache.httpcomponents.core5:httpcore5-reactive:5.0') testCompile("com.squareup.okhttp3:mockwebserver") + testCompile("org.jetbrains.kotlin:kotlin-script-runtime") testRuntime("org.jetbrains.kotlin:kotlin-scripting-jsr223") testRuntime("org.jruby:jruby") testRuntime("org.python:jython-standalone") diff --git a/spring-webmvc/spring-webmvc.gradle b/spring-webmvc/spring-webmvc.gradle index 1da60848bd6..f089dab8ab6 100644 --- a/spring-webmvc/spring-webmvc.gradle +++ b/spring-webmvc/spring-webmvc.gradle @@ -60,6 +60,7 @@ dependencies { testCompile("javax.validation:validation-api") testCompile("io.projectreactor:reactor-core") testCompile("io.reactivex.rxjava3:rxjava") + testCompile("org.jetbrains.kotlin:kotlin-script-runtime") testRuntime("org.jetbrains.kotlin:kotlin-scripting-jsr223") testRuntime("org.jetbrains.kotlinx:kotlinx-coroutines-core") // Temporary dependency to fix a NoClassDefFoundError error, should not be necessary testRuntime("org.jruby:jruby")