aboutsummaryrefslogtreecommitdiffstats
path: root/build/export_generators/ide-gradle/settings.gradle.kts.jinja
diff options
context:
space:
mode:
authordimdim11 <dimdim11@yandex-team.com>2024-11-19 00:50:19 +0300
committerdimdim11 <dimdim11@yandex-team.com>2024-11-19 01:03:37 +0300
commit81f817f446c49b24a1ddb183dbd51b110993f6ce (patch)
treebb6564ab958fce4f290b004b180267ed0d646d2c /build/export_generators/ide-gradle/settings.gradle.kts.jinja
parent26c4da266654a06558c9df0f549c6e836e0df3d0 (diff)
downloadydb-81f817f446c49b24a1ddb183dbd51b110993f6ce.tar.gz
Patch annotation processors
Fixes and add sem deps commit_hash:43b1dd3f53d13a09605153657437d6d8902fcea9
Diffstat (limited to 'build/export_generators/ide-gradle/settings.gradle.kts.jinja')
-rw-r--r--build/export_generators/ide-gradle/settings.gradle.kts.jinja9
1 files changed, 3 insertions, 6 deletions
diff --git a/build/export_generators/ide-gradle/settings.gradle.kts.jinja b/build/export_generators/ide-gradle/settings.gradle.kts.jinja
index ca32319453..677de2592a 100644
--- a/build/export_generators/ide-gradle/settings.gradle.kts.jinja
+++ b/build/export_generators/ide-gradle/settings.gradle.kts.jinja
@@ -1,12 +1,9 @@
rootProject.name = "{{ project_name }}"
-{% if subdirs|length > 1 -%}
-{#- Apply list if not only root in it -#}
-{%- for subdir in subdirs -%}
-{%- set classname = subdir | replace("/", ":") -%}
+{% for subdir in subdirs -%}
+{%- set classname = subdir | replace("/", ":") %}
include(":{{ classname }}")
project(":{{ classname }}").projectDir = file("{{ arcadia_root }}/{{ subdir }}")
-{% endfor -%}
-{%- endif -%}
+{% endfor -%}
{%- include "[generator]/debug.jinja" ignore missing -%}