aboutsummaryrefslogtreecommitdiffstats
path: root/build/export_generators/gradle
diff options
context:
space:
mode:
authorAlexSm <alex@ydb.tech>2024-01-18 11:28:56 +0100
committerGitHub <noreply@github.com>2024-01-18 11:28:56 +0100
commit9d0a3761b3201e0d9db879a7adf91876ebdb0564 (patch)
tree541d11ac878c18efd7ebca81e35112aa0fef995b /build/export_generators/gradle
parent404ef8886ecc9736bc58ade6da2fbd83b486a408 (diff)
downloadydb-9d0a3761b3201e0d9db879a7adf91876ebdb0564.tar.gz
Library import 8 (#1074)
* Library import 8 * Add contrib/libs/cxxsupp/libcxx/include/__verbose_abort
Diffstat (limited to 'build/export_generators/gradle')
-rw-r--r--build/export_generators/gradle/build.gradle.kts.jinja7
1 files changed, 4 insertions, 3 deletions
diff --git a/build/export_generators/gradle/build.gradle.kts.jinja b/build/export_generators/gradle/build.gradle.kts.jinja
index 648c298ae5..1106967749 100644
--- a/build/export_generators/gradle/build.gradle.kts.jinja
+++ b/build/export_generators/gradle/build.gradle.kts.jinja
@@ -46,9 +46,10 @@ dependencies {
{% if targets|selectattr("app_main_class") -%}
{% if library.excludes.consumer is defined %}
implementation({{ classpath }}) {
-{% for exclude in library.excludes.consumer -%}
-{% set classpath_parts = exclude.classpath.split(':') -%}
- exclude group: '{{ classpath_parts[0] }}', module: '{{ classpath_parts[1] }}'
+{% for exclude in library.excludes.consumer if exclude.classpath -%}
+{% set classpath = exclude.classpath|replace('"','') -%}
+{% set classpath_parts = split(classpath, ':') -%}
+ exclude(group = "{{ classpath_parts[0] }}", module = "{{ classpath_parts[1] }}")
{% endfor -%}
}
{% else -%}