From 0795b0c728100d32c345f9f9c6b20f5a975baf74 Mon Sep 17 00:00:00 2001 From: Hunter Mellema Date: Fri, 15 Mar 2024 12:07:48 -0600 Subject: [PATCH] chore: upgrade gradle version to 8.2.1 --- codegen/build.gradle.kts | 6 +++--- codegen/config/checkstyle/checkstyle.xml | 3 +-- codegen/gradle/wrapper/gradle-wrapper.properties | 2 +- codegen/sdk-codegen/build.gradle.kts | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/codegen/build.gradle.kts b/codegen/build.gradle.kts index 489743a03e972..e20a33b8f4fcb 100644 --- a/codegen/build.gradle.kts +++ b/codegen/build.gradle.kts @@ -232,9 +232,9 @@ subprojects { // Configure jacoco to generate an HTML report. tasks.jacocoTestReport { reports { - xml.isEnabled = false - csv.isEnabled = false - html.destination = file("$buildDir/reports/jacoco") + xml.required.set(false) + csv.required.set(false) + html.outputLocation.set(file("$buildDir/reports/jacoco")) } } diff --git a/codegen/config/checkstyle/checkstyle.xml b/codegen/config/checkstyle/checkstyle.xml index b78fff817b838..82a14fc10b71a 100644 --- a/codegen/config/checkstyle/checkstyle.xml +++ b/codegen/config/checkstyle/checkstyle.xml @@ -68,7 +68,6 @@ - @@ -194,4 +193,4 @@ - \ No newline at end of file + diff --git a/codegen/gradle/wrapper/gradle-wrapper.properties b/codegen/gradle/wrapper/gradle-wrapper.properties index ffed3a254e91d..84a0b92f9af2f 100644 --- a/codegen/gradle/wrapper/gradle-wrapper.properties +++ b/codegen/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/codegen/sdk-codegen/build.gradle.kts b/codegen/sdk-codegen/build.gradle.kts index e852505933fdc..57eb849925781 100644 --- a/codegen/sdk-codegen/build.gradle.kts +++ b/codegen/sdk-codegen/build.gradle.kts @@ -146,7 +146,7 @@ tasks.register("generate-smithy-build") { tasks.register("generate-default-configs-provider", JavaExec::class) { classpath = sourceSets["main"].runtimeClasspath - main = "software.amazon.smithy.aws.typescript.codegen.DefaultsModeConfigGenerator" + mainClass.set("software.amazon.smithy.aws.typescript.codegen.DefaultsModeConfigGenerator") args(listOf(project.properties["defaultsModeConfigOutput"])) }