Skip to content

Commit

Permalink
Update Kotlin to version 2.1.0 - Additional changes
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-eberle committed Jan 13, 2025
1 parent c160190 commit ca6c032
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public void shouldReturnMultipleOutputSourceDirectories() {

@Test
public void shouldNotFailOnProjectDependenciesWithoutMain(@TempDir Path testProjectDir) throws IOException {
var kotlinVersion = System.getProperty("kotlin_version", "1.9.23");
var kotlinVersion = System.getProperty("kotlin_version", "2.1.0");
var settingFile = testProjectDir.resolve("settings.gradle.kts");
var mppProjectDir = testProjectDir.resolve("mpp");
var quarkusProjectDir = testProjectDir.resolve("quarkus");
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
kotlin("jvm") version "1.9.23"
kotlin("plugin.allopen") version "1.9.23"
kotlin("jvm") version "2.1.0"
kotlin("plugin.allopen") version "2.1.0"
id("io.quarkus")
}

Expand Down
5 changes: 0 additions & 5 deletions integration-tests/kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,10 @@
<artifactId>quarkus-integration-test-kotlin</artifactId>
<name>Quarkus - Integration Tests - Kotlin</name>

<properties>
<serialization.version>1.3.1</serialization.version>
</properties>

<dependencies>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-rest-kotlin-serialization</artifactId>
<version>999-SNAPSHOT</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ class CountryNamePayloadTransformer {
@Outgoing("countries-t1-out")
suspend fun transform(country: Country): Country {
delay(100)
return Country(country.name.lowercase(), country.capital)
return Country(country.name.uppercase(), country.capital)
}
}

0 comments on commit ca6c032

Please sign in to comment.