From 4631535741da8c068731228506062c0b1d1cccd0 Mon Sep 17 00:00:00 2001 From: Yannick Block Date: Mon, 3 Jun 2024 13:51:07 +0200 Subject: [PATCH] Upgrade to Gradle 8 --- build.gradle.kts | 2 +- .../build.gradle.kts | 2 +- samples/lambda-kotlin-request-router-sample/build.gradle.kts | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index e86c258..74e0621 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -25,7 +25,7 @@ repositories { } dependencies { - implementation(kotlin("stdlib-jdk8")) + implementation(kotlin("stdlib")) implementation(kotlin("reflect")) } diff --git a/samples/lambda-kotlin-request-router-sample-proto/build.gradle.kts b/samples/lambda-kotlin-request-router-sample-proto/build.gradle.kts index 15a560a..707e5c4 100644 --- a/samples/lambda-kotlin-request-router-sample-proto/build.gradle.kts +++ b/samples/lambda-kotlin-request-router-sample-proto/build.gradle.kts @@ -34,7 +34,7 @@ repositories { val proto = "3.11.1" dependencies { - implementation(kotlin("stdlib-jdk8")) + implementation(kotlin("stdlib")) implementation(kotlin("reflect")) implementation("io.moia.lambda-kotlin-request-router:router-protobuf:0.10.2") diff --git a/samples/lambda-kotlin-request-router-sample/build.gradle.kts b/samples/lambda-kotlin-request-router-sample/build.gradle.kts index c674cd9..ba268b0 100644 --- a/samples/lambda-kotlin-request-router-sample/build.gradle.kts +++ b/samples/lambda-kotlin-request-router-sample/build.gradle.kts @@ -30,7 +30,7 @@ repositories { } dependencies { - implementation(kotlin("stdlib-jdk8")) + implementation(kotlin("stdlib")) implementation(kotlin("reflect")) implementation("io.moia.lambda-kotlin-request-router:router:0.10.2") @@ -49,7 +49,7 @@ dependencies { tasks { withType { - kotlinOptions.jvmTarget = "1.8" + kotlinOptions.jvmTarget = "17" } withType {