aboutsummaryrefslogtreecommitdiffstats
path: root/build/plugins/java.py
diff options
context:
space:
mode:
authorAlexander Smirnov <alex@ydb.tech>2025-03-26 04:36:48 +0000
committerAlexander Smirnov <alex@ydb.tech>2025-03-26 04:36:48 +0000
commit2ab1927dc51d44520a6ca0c31d0a861dfd85c238 (patch)
tree549de05508f04990e5c2c2e06cc83f4d61e5eb46 /build/plugins/java.py
parentbe31a7952e0b78d143224d7fe8ff876d9037edb5 (diff)
parent88024bc25648ac65a094b1c8f05bd3fd384fa930 (diff)
downloadydb-2ab1927dc51d44520a6ca0c31d0a861dfd85c238.tar.gz
Merge pull request #16243 from ydb-platform/merge-libs-250326-0050
Diffstat (limited to 'build/plugins/java.py')
-rw-r--r--build/plugins/java.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/plugins/java.py b/build/plugins/java.py
index f95c08cea8..c42175634c 100644
--- a/build/plugins/java.py
+++ b/build/plugins/java.py
@@ -70,6 +70,7 @@ def onjava_module(unit, *args):
'21',
'22',
'23',
+ '24',
):
data['ENABLE_PREVIEW'] = extract_macro_calls(unit, 'ENABLE_PREVIEW_VALUE', args_delim)
@@ -300,6 +301,7 @@ def on_jdk_version_macro_check(unit, *args):
'21',
'22',
'23',
+ '24',
)
if jdk_version not in available_versions:
ymake.report_configure_error(
@@ -367,3 +369,11 @@ def on_setup_project_coords_if_needed(unit, *args):
else:
value = 'project(\\":{}\\")'.format(project_dir.replace('/', ':'))
unit.set(['EXPORT_GRADLE_CLASSPATH', value])
+
+
+def on_java_resource_tar_validate_extract_root(unit, extract_root):
+ if extract_root == '<required>':
+ ymake.report_configure_error(
+ 'Macro JAVA_RESOURCE_TAR requires to set EXTRACT_ROOT. '
+ 'Usage JAVA_RESOURCE_TAR(tar_path EXTRACT_ROOT root_dir)'
+ )