-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Update to Gradle 8 #1829
base: main
Are you sure you want to change the base?
Conversation
@@ -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.11.1-bin.zip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Autogenerated change
@@ -1,7 +1,7 @@ | |||
#!/usr/bin/env sh | |||
#!/bin/sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This whole file is an autogenerated change
@@ -29,6 +29,9 @@ if "%DIRNAME%" == "" set DIRNAME=. | |||
set APP_BASE_NAME=%~n0 | |||
set APP_HOME=%DIRNAME% |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whole file is autogenerated
args = lintPaths | ||
} | ||
|
||
tasks.register<JavaExec>("ktlintFormat") { | ||
description = "Auto fix Kotlin code style violations" | ||
group = "formatting" | ||
classpath = configurations.getByName("ktlint") | ||
main = "com.pinterest.ktlint.Main" | ||
mainClass = "com.pinterest.ktlint.Main" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gradle 8 changes the name of this property
html.destination = file("$buildDir/reports/jacoco") | ||
xml.required.set(false) | ||
csv.required.set(false) | ||
html.outputLocation.set(file("$buildDir/reports/jacoco")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Test report config updated & taken from smithy project
Description of changes
Gradle update instructions are here:
https://docs.gradle.org/current/userguide/upgrading_version_7.html
Updates the project from Gradle 7.2 to 8.11.1 (the latest Gradle version).
This brings us to parity with https://github.com/smithy-lang/smithy which is also on Gradle 8.
New/existing dependencies impact assessment, if applicable
No new dependencies were added to this change.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.