You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuweni.apache.org by to...@apache.org on 2021/04/01 02:02:16 UTC

[incubator-tuweni] branch master updated: Fix IDE warnings on gradle import

This is an automated email from the ASF dual-hosted git repository.

toulmean pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni.git


The following commit(s) were added to refs/heads/master by this push:
     new 10cd991  Fix IDE warnings on gradle import
     new 3c8753e  Merge pull request #203 from atoulme/warnings_gradle
10cd991 is described below

commit 10cd9911ab2594afbcfc7e1be9d2ee1ea1c8eb86
Author: Antoine Toulme <an...@lunar-ocean.com>
AuthorDate: Wed Mar 31 17:46:14 2021 -0700

    Fix IDE warnings on gradle import
---
 build.gradle | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/build.gradle b/build.gradle
index 9428a08..a6a27c0 100644
--- a/build.gradle
+++ b/build.gradle
@@ -14,9 +14,6 @@ import org.ajoberstar.grgit.Grgit
 import java.time.Instant
 import java.time.ZoneId
 import java.time.format.DateTimeFormatter
-import java.time.format.FormatStyle
-import java.util.regex.Pattern
-import net.ltgt.gradle.errorprone.CheckSeverity
 
 buildscript {
   repositories {
@@ -284,8 +281,8 @@ allprojects {
 
     options.errorprone {
       excludedPaths = '.*/generated-src/.*'
-      check('FutureReturnValueIgnored', CheckSeverity.OFF)
-      check('UnnecessaryParentheses', CheckSeverity.OFF)
+      check('FutureReturnValueIgnored', net.ltgt.gradle.errorprone.CheckSeverity.OFF)
+      check('UnnecessaryParentheses', net.ltgt.gradle.errorprone.CheckSeverity.OFF)
 
       disableWarningsInGeneratedCode = true
     }

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tuweni.apache.org
For additional commands, e-mail: commits-help@tuweni.apache.org