aboutsummaryrefslogtreecommitdiffstats
path: root/build/export_generators/ide-gradle
diff options
context:
space:
mode:
authorc0nsumer <c0nsumer@yandex-team.com>2024-09-04 13:12:48 +0300
committerc0nsumer <c0nsumer@yandex-team.com>2024-09-04 13:23:26 +0300
commit83821418bcb3ec50ab74e93b6024c46226038ee5 (patch)
tree925582915c7aae896633d09364bf7f224be67692 /build/export_generators/ide-gradle
parent490a770a69d6b9720979d3ffc84e528cf5b3f590 (diff)
downloadydb-83821418bcb3ec50ab74e93b6024c46226038ee5.tar.gz
language level fix on empty
8ada0cb33f1194f86395367bedb3dd71646f04ed
Diffstat (limited to 'build/export_generators/ide-gradle')
-rw-r--r--build/export_generators/ide-gradle/build.gradle.kts.jinja2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/export_generators/ide-gradle/build.gradle.kts.jinja b/build/export_generators/ide-gradle/build.gradle.kts.jinja
index b0c2714a5b..ee68d1729f 100644
--- a/build/export_generators/ide-gradle/build.gradle.kts.jinja
+++ b/build/export_generators/ide-gradle/build.gradle.kts.jinja
@@ -44,11 +44,13 @@ plugins {
{%- endif %}
}
{# language level #}
+{%- if target.required_jdk != "" %}
java {
toolchain {
languageVersion = JavaLanguageVersion.of("{{ target.required_jdk }}")
}
}
+{% endif -%}
{%- if target.with_kotlinc_plugin_allopen %}
allOpen {