diff options
author | dimdim11 <dimdim11@yandex-team.com> | 2025-06-05 19:54:14 +0300 |
---|---|---|
committer | dimdim11 <dimdim11@yandex-team.com> | 2025-06-05 20:08:45 +0300 |
commit | 44ef8947c96399067f7227a97585fa6c5e595d2d (patch) | |
tree | 4343d441d50fbfaea629d6c6a5a9b1c6e3f0766f | |
parent | 38fa978fc7b65b7eb74305fec3b95ea71e78003a (diff) | |
download | ydb-44ef8947c96399067f7227a97585fa6c5e595d2d.tar.gz |
Support contribs in exported projects
commit_hash:d2b17ac2f5acef09ee51b5e07e70a7e9cd661c75
-rw-r--r-- | build/export_generators/ide-gradle/dependencies.jinja | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build/export_generators/ide-gradle/dependencies.jinja b/build/export_generators/ide-gradle/dependencies.jinja index 16822872c08..98ddba9a50c 100644 --- a/build/export_generators/ide-gradle/dependencies.jinja +++ b/build/export_generators/ide-gradle/dependencies.jinja @@ -41,8 +41,13 @@ {%- else %} {{ implementationFunc }}({{ classpath }}) {%- endif -%} -{%- else %} +{%- else -%} +{%- if classpath|replace('project(":', '') != classpath -%} +{#- Contrib in exported arcadia folders #} + {{ implementationFunc }}(files("$output_root/{{ library.jar }}")) +{%- else %} {{ apiFunc }}({{ classpath }}) +{%- endif -%} {%- endif -%} {%- if library.excludes.consumer|length and not build_contribs -%} { {%- for exclude in library.excludes.consumer if exclude.classpath -%} |