Skip to content

Commit

Permalink
update Kotlin to 1.9.25
Browse files Browse the repository at this point in the history
Signed-off-by: Julia Plewa <[email protected]>
  • Loading branch information
jplewa committed Oct 22, 2024
1 parent 9e5e3ba commit d809940
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 8 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import org.gradle.configurationcache.extensions.capitalized
plugins {
application
kotlin("jvm")
kotlin("plugin.serialization") version "1.9.22"
kotlin("plugin.serialization") version "1.9.25"
id("org.jmailen.kotlinter")
id("io.gitlab.arturbosch.detekt") version "1.23.6"
id("code-generation")
Expand Down Expand Up @@ -42,7 +42,7 @@ dependencies {

testImplementation("org.junit.jupiter:junit-jupiter:5.11.2")
testImplementation("com.github.tschuchortdev:kotlin-compile-testing:1.6.0")
testImplementation(kotlin("test", "1.9.22"))
testImplementation(kotlin("test", "1.9.25"))
testImplementation("com.google.cloud:google-cloud-compute:1.62.0")
testImplementation("com.azure:azure-identity:1.14.0")
testImplementation("com.azure.resourcemanager:azure-resourcemanager-compute:2.43.0")
Expand Down
10 changes: 5 additions & 5 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
`kotlin-dsl`
kotlin("plugin.serialization") version "1.9.22"
kotlin("plugin.serialization") version "1.9.25"
}

repositories {
Expand All @@ -11,13 +11,13 @@ repositories {
val ktorVersion by extra { "2.3.11" }

dependencies {
implementation(kotlin("gradle-plugin", version = "1.9.22"))
implementation(kotlin("gradle-plugin", version = "1.9.25"))
implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.9.20")
implementation("de.undercouch.download:de.undercouch.download.gradle.plugin:5.6.0")
implementation("org.jmailen.gradle:kotlinter-gradle:4.3.0")

implementation(kotlin("stdlib", "1.9.22"))
implementation(kotlin("maven-serialization", "1.9.22"))
implementation(kotlin("stdlib", "1.9.25"))
implementation(kotlin("maven-serialization", "1.9.25"))
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.3")
implementation("org.jetbrains.kotlinx:kotlinx-html:0.11.0")

Expand All @@ -31,7 +31,7 @@ dependencies {
implementation("org.eclipse.jgit:org.eclipse.jgit:6.9.0.202403050737-r")
implementation("org.semver4j:semver4j:5.3.0")

testImplementation(kotlin("test", "1.9.22"))
testImplementation(kotlin("test", "1.9.25"))
testImplementation("org.junit.jupiter:junit-jupiter:5.10.2")
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package project

import com.pulumi.googlenative.compute.v1.kotlin.inputs.MetadataItemsItemArgsBuilder
import com.pulumi.googlenative.compute.v1.kotlin.instance
import com.pulumi.kotlin.Pulumi

Expand All @@ -23,6 +24,14 @@ fun main() {
network("global/networks/default")
}
metadata {
// val argument: suspend (MetadataItemsItemArgsBuilder) -> Unit = {
// it.key("foo")
// it.value("bar")
// }
// val argument: suspend MetadataItemsItemArgsBuilder.() -> Unit = {
// this.key("startup-script")
// this.value("echo hi > /test.txt")
// }
items(
{
key("foo")
Expand Down
2 changes: 1 addition & 1 deletion sdk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies {
api("org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.8.1")
testImplementation("org.junit.jupiter:junit-jupiter:5.10.2")
testImplementation("io.mockk:mockk:1.13.11")
testImplementation(kotlin("test", "1.9.22"))
testImplementation(kotlin("test", "1.9.25"))
}

tasks.test {
Expand Down

0 comments on commit d809940

Please sign in to comment.