diff options
author | dimdim11 <dimdim11@yandex-team.com> | 2024-11-19 21:08:37 +0300 |
---|---|---|
committer | dimdim11 <dimdim11@yandex-team.com> | 2024-11-19 22:02:29 +0300 |
commit | eeb83c06f0d172098bc3a45f7df907a6f8df9826 (patch) | |
tree | 21035dede1e2a07c1c282796ec7d79f4302da133 /build/export_generators/ide-gradle/settings.gradle.kts.jinja | |
parent | 7adbae591523da629a126b139a0673bedd6411c1 (diff) | |
download | ydb-eeb83c06f0d172098bc3a45f7df907a6f8df9826.tar.gz |
Fix javac flags, full support of RUN_JAVA_PROGRAM
Fix javac flags, full support of RUN_JAVA_PROGRAM
commit_hash:0d9cc80fef351cb6c25839b90c34483448ecbe7c
Diffstat (limited to 'build/export_generators/ide-gradle/settings.gradle.kts.jinja')
-rw-r--r-- | build/export_generators/ide-gradle/settings.gradle.kts.jinja | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/build/export_generators/ide-gradle/settings.gradle.kts.jinja b/build/export_generators/ide-gradle/settings.gradle.kts.jinja index 677de2592a..74a19ccc62 100644 --- a/build/export_generators/ide-gradle/settings.gradle.kts.jinja +++ b/build/export_generators/ide-gradle/settings.gradle.kts.jinja @@ -1,9 +1,11 @@ rootProject.name = "{{ project_name }}" -{% for subdir in subdirs -%} -{%- set classname = subdir | replace("/", ":") %} +{% if subdirs|length > 1 -%} +{%- for subdir in subdirs -%} +{%- set classname = subdir | replace("/", ":") %} include(":{{ classname }}") project(":{{ classname }}").projectDir = file("{{ arcadia_root }}/{{ subdir }}") -{% endfor -%} +{% endfor -%} +{%- endif -%} {%- include "[generator]/debug.jinja" ignore missing -%} |