Upgrade to Kotlin 1.6.20-M1

This commit upgrades the Kotlin dependencies to 1.6.20-M1 and configures
the build to generate Java 17 bytecode for Kotlin classes.

Closes gh-27814
This commit is contained in:
Brian Clozel
2022-02-11 11:39:32 +01:00
parent 2019e176ee
commit 6c42bcfaec
4 changed files with 20 additions and 17 deletions

View File

@@ -17,6 +17,7 @@
package org.springframework.core
import kotlinx.coroutines.Deferred
import kotlinx.coroutines.DelicateCoroutinesApi
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.async
import kotlinx.coroutines.flow.Flow
@@ -32,6 +33,7 @@ import reactor.test.StepVerifier
import java.time.Duration
import kotlin.reflect.KClass
@OptIn(DelicateCoroutinesApi::class)
class KotlinReactiveAdapterRegistryTests {
private val registry = ReactiveAdapterRegistry.getSharedInstance()