diff options
author | Alexander Smirnov <alex@ydb.tech> | 2024-11-20 11:14:58 +0000 |
---|---|---|
committer | Alexander Smirnov <alex@ydb.tech> | 2024-11-20 11:14:58 +0000 |
commit | 31773f157bf8164364649b5f470f52dece0a4317 (patch) | |
tree | 33d0f7eef45303ab68cf08ab381ce5e5e36c5240 /build/export_generators/ide-gradle/build.gradle.kts.proto.jinja | |
parent | 2c7938962d8689e175574fc1e817c05049f27905 (diff) | |
parent | eff600952d5dfe17942f38f510a8ac2b203bb3a5 (diff) | |
download | ydb-31773f157bf8164364649b5f470f52dece0a4317.tar.gz |
Merge branch 'rightlib' into mergelibs-241120-1113
Diffstat (limited to 'build/export_generators/ide-gradle/build.gradle.kts.proto.jinja')
-rw-r--r-- | build/export_generators/ide-gradle/build.gradle.kts.proto.jinja | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/build/export_generators/ide-gradle/build.gradle.kts.proto.jinja b/build/export_generators/ide-gradle/build.gradle.kts.proto.jinja index 7e0e0c1990..9b7b71f743 100644 --- a/build/export_generators/ide-gradle/build.gradle.kts.proto.jinja +++ b/build/export_generators/ide-gradle/build.gradle.kts.proto.jinja @@ -94,11 +94,11 @@ dependencies { {%- endif -%} {%- endfor %} -{% if target.proto_namespace -%} +{%- if target.proto_namespace %} protobuf(files(File(buildProtoDir, "{{ target.proto_namespace }}"))) -{% else -%} +{%- else %} protobuf(files(buildProtoDir)) -{% endif -%} +{%- endif %} } protobuf { @@ -158,9 +158,8 @@ afterEvaluate { tasks.getByName("extractProto").dependsOn(prepareProto) } {# To avoid problems when build project with proto #} -tasks.named("sourcesJar").configure { - dependsOn("generateProto") -} +tasks.getByName("sourcesJar").dependsOn("generateProto") + {# To disable redundant javadoc (it may fail the build) #} tasks.withType<Javadoc>().configureEach { isEnabled = false |