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.web.reactive.result.method.annotation
import kotlinx.coroutines.Deferred
import kotlinx.coroutines.DelicateCoroutinesApi
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.async
import kotlinx.coroutines.delay
@@ -115,6 +116,7 @@ class CoroutinesIntegrationTests : AbstractRequestMappingIntegrationTests() {
@ComponentScan(resourcePattern = "**/CoroutinesIntegrationTests*")
open class WebConfig
@OptIn(DelicateCoroutinesApi::class)
@RestController
class CoroutinesController {