-
Notifications
You must be signed in to change notification settings - Fork 30
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 #867
base: main
Are you sure you want to change the base?
Conversation
@@ -74,7 +74,7 @@ val licenseSpec = copySpec { | |||
val sourcesJar by tasks.creating(Jar::class) { | |||
group = "publishing" | |||
description = "Assembles Kotlin sources jar" | |||
classifier = "sources" | |||
archiveClassifier = "sources" |
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.
Property renamed in Gradle 8
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
@@ -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.
Automatically generated by Gradle upgrade command
@@ -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.
Automatically generated by Gradle upgrade command
@@ -40,7 +40,7 @@ if defined JAVA_HOME goto findJavaFromJavaHome | |||
|
|||
set JAVA_EXE=java.exe | |||
%JAVA_EXE% -version >NUL 2>&1 | |||
if "%ERRORLEVEL%" == "0" goto init | |||
if "%ERRORLEVEL%" == "0" goto execute |
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.
Automatically generated by Gradle upgrade command
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.
Scope
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.