aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authordimdim11 <dimdim11@yandex-team.com>2024-12-13 08:39:08 +0300
committerdimdim11 <dimdim11@yandex-team.com>2024-12-13 09:21:32 +0300
commitf4c82e083def38003630d0e606eb1d12c9c1445f (patch)
treef0e9f5861f35f1307ac19ab7e63820d62e383a43 /build
parente90b83df32a421a93c021eaa91710c1193585f9a (diff)
downloadydb-f4c82e083def38003630d0e606eb1d12c9c1445f.tar.gz
Fastfix using errorprone
Fastfix using errorprone commit_hash:76995d86d8c38f497912f4b27a190d63479e581c
Diffstat (limited to 'build')
-rw-r--r--build/export_generators/ide-gradle/vars.jinja2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/export_generators/ide-gradle/vars.jinja b/build/export_generators/ide-gradle/vars.jinja
index b83c0dfac2..d8722a2b42 100644
--- a/build/export_generators/ide-gradle/vars.jinja
+++ b/build/export_generators/ide-gradle/vars.jinja
@@ -3,7 +3,7 @@
{%- set with_kotlin = target.with_kotlin -%}
{%- set kotlin_version = target.kotlin_version -%}
{%- set has_junit5_test = extra_targets|selectattr('junit5_test') -%}
-{%- set has_errorprone = target.use_errorprone and not disable_errorprone -%}
+{%- set has_errorprone = target.use_errorprone and not disable_errorprone and target.consumer|selectattr('jar', 'startsWith', 'contrib/java/com/google/errorprone/error_prone_annotations')|length -%}
{%- if not target.required_jdk -%}
{%- set has_required_jdk = false -%}