Skip to content
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

Update Gradle to 8.5, use Java 21 in CI #71

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

thc202
Copy link
Member

@thc202 thc202 commented Nov 30, 2023

Update Gradle Wrapper to 8.5 and ZAP API client to latest version.
Apply the common plugins and remove now redundant configurations.
Address deprecation warning when using project.buildDir.
Update GitHub Actions in workflows and add Java 21 to CI.

Update Gradle Wrapper to 8.5 and ZAP API client to latest version.
Apply the common plugins and remove now redundant configurations.
Address deprecation warning when using `project.buildDir`.
Update GitHub Actions in workflows and add Java 21 to CI.

Signed-off-by: thc202 <thc202@gmail.com>
Comment on lines -26 to -36
tasks.withType<JavaCompile>().configureEach {
options.encoding = "UTF-8"
options.compilerArgs = listOf("-Xlint:all", "-Xlint:-path", "-Xlint:-options", "-Werror")
}

spotless {
java {
licenseHeaderFile("$rootDir/gradle/spotless/license.java")
googleJavaFormat().aosp()
}

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is wrong but how do these bits happen now?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The common plugin does that.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay cool

@psiinon psiinon merged commit 309ab55 into zaproxy:main Nov 30, 2023
4 checks passed
@thc202 thc202 deleted the gradle/update-8.5 branch November 30, 2023 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants