Skip to content

Commit

Permalink
Update to Kotlin 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored and gastaldi committed May 22, 2024
1 parent d9b98cd commit 7fc7aa2
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bom/application/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
<aws-xray.version>2.15.3</aws-xray.version>
<azure-functions-java-library.version>3.1.0</azure-functions-java-library.version>
<azure-functions-java-spi.version>1.0.0</azure-functions-java-spi.version>
<kotlin.version>1.9.23</kotlin.version>
<kotlin.version>2.0.0</kotlin.version>
<kotlin.coroutine.version>1.8.1</kotlin.coroutine.version>
<azure.toolkit-lib.version>0.27.0</azure.toolkit-lib.version>
<kotlin-serialization.version>1.6.2</kotlin-serialization.version>
Expand Down
2 changes: 1 addition & 1 deletion build-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<!-- These properties are needed in order for them to be resolvable by the generated projects -->
<compiler-plugin.version>3.12.1</compiler-plugin.version>
<kotlin.version>1.9.23</kotlin.version>
<kotlin.version>2.0.0</kotlin.version>
<dokka.version>1.9.20</dokka.version>
<scala.version>2.13.12</scala.version>
<scala-maven-plugin.version>4.9.1</scala-maven-plugin.version>
Expand Down
2 changes: 1 addition & 1 deletion devtools/gradle/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
plugin-publish = "1.2.1"

# updating Kotlin here makes QuarkusPluginTest > shouldNotFailOnProjectDependenciesWithoutMain(Path) fail
kotlin = "1.9.24"
kotlin = "2.0.0"
smallrye-config = "3.7.1"

junit5 = "5.10.2"
Expand Down
2 changes: 1 addition & 1 deletion extensions/schema-registry/confluent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-scripting-compiler-embeddable</artifactId>
<version>1.9.23</version>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1263,8 +1263,8 @@ class TestEndpoint {
.onItem()
.invoke { _ -> Assertions.fail("Did not throw " + exceptionClass.name) }
.onFailure(exceptionClass)
.recoverWithItem { null }
.map { null }
.recoverWithItem { -> null }
.map { it: Any? -> null }
}

private fun testPersist(persistsTest: PersistTest): Uni<Void> {
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/kafka-json-schema-apicurio2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<dependency>
<groupId>org.jetbrains.kotlin</groupId>
<artifactId>kotlin-scripting-compiler-embeddable</artifactId>
<version>1.9.23</version>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>org.json</groupId>
Expand Down

0 comments on commit 7fc7aa2

Please sign in to comment.