From 523bc35063513c29198a34ffc34571be356cf1d6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 9 May 2023 07:05:31 +0000 Subject: [PATCH 1/2] Bump com.google.errorprone:error_prone_core from 2.18.0 to 2.19.0 Bumps [com.google.errorprone:error_prone_core](https://github.com/google/error-prone) from 2.18.0 to 2.19.0. - [Release notes](https://github.com/google/error-prone/releases) - [Commits](https://github.com/google/error-prone/compare/v2.18.0...v2.19.0) --- updated-dependencies: - dependency-name: com.google.errorprone:error_prone_core dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 247ac7e1..989304b0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -63,7 +63,7 @@ dependencies { //code saftey compileOnly("com.google.code.findbugs:jsr305:3.0.2") - errorprone("com.google.errorprone:error_prone_core:2.18.0") + errorprone("com.google.errorprone:error_prone_core:2.19.0") //Lombok's annotations compileOnly("org.projectlombok:lombok:$lombokVersion") From b23f0cc3d6211483e1d78b760d901df5194a604b Mon Sep 17 00:00:00 2001 From: -Denux <83671398+DenuxPlays@users.noreply.github.com> Date: Tue, 9 May 2023 12:26:27 +0200 Subject: [PATCH 2/2] applied suggested workaround for compiling with jdk 11 See here: https://github.com/google/error-prone/issues/3895 and https://github.com/google/error-prone/issues/2092 --- build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 989304b0..b00ec145 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -97,7 +97,7 @@ tasks.withType().configureEach { //error-prone configuration options.errorprone.disableWarningsInGeneratedCode.set(true) options.errorprone.errorproneArgs.addAll( - "-Xep:AnnotateFormatMethod:OFF", "-Xep:FutureReturnValueIgnored:OFF") + "-Xep:AnnotateFormatMethod:OFF", "-Xep:FutureReturnValueIgnored:OFF", "-Xep:HidingField:OFF") } val javadocJar = task("javadocJar") {