mirror of
https://github.com/jlengrand/error-prone-support.git
synced 2026-03-10 08:11:25 +00:00
Fix metrics init patch
This commit is contained in:
@@ -31,7 +31,7 @@ index 6192b52..8c312b6 100644
|
||||
<errorprone.version>2.19.1</errorprone.version>
|
||||
<errorprone.javac.version>9+181-r4173-1</errorprone.javac.version>
|
||||
-
|
||||
+ <error-prone-support.flags>-Xplugin:ErrorProne -XepDisableWarningsInGeneratedCode ${error-prone.flags}</error-prone-support.flags>
|
||||
+ <error-prone-support.flags>-Xplugin:ErrorProne -XepDisableWarningsInGeneratedCode ${error-prone.configuration-args}</error-prone-support.flags>
|
||||
+ <java.version>8</java.version>
|
||||
<sonar.projectKey>dropwizard_metrics</sonar.projectKey>
|
||||
<sonar.organization>dropwizard</sonar.organization>
|
||||
|
||||
@@ -14,7 +14,7 @@ fi
|
||||
do_sync="$([ "${#}" = 0 ] || [ "${1:-}" != '--sync' ] || echo 1)"
|
||||
report_directory="$([ "${#}" = 0 ] || ([ -z "${do_sync}" ] && echo "${1}") || ([ "${#}" = 1 ] || echo "${2}"))"
|
||||
|
||||
# XXX: We exclude the `CollectorMutability` and the `Immutable*|Preconditions*|StringRules.StringIsNullOrEmpty` Rsefaster rules
|
||||
# XXX: We exclude the `CollectorMutability` and the `Immutable*|Preconditions*|StringRules.StringIsNullOrEmpty` Refaster rules
|
||||
# as they introduce changes that expect Guava to be on the classpath.
|
||||
patch_flags="-Xep:CollectorMutability:OFF -XepOpt:Refaster:NamePattern=^((?!(Immutable|Preconditions|StringRules\.StringIsNullOrEmpty)).*)"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user