aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/compile_java.py
diff options
context:
space:
mode:
authoriaz1607 <iaz1607@yandex-team.com>2023-11-30 12:16:39 +0300
committeriaz1607 <iaz1607@yandex-team.com>2023-11-30 12:56:46 +0300
commit8951ddf780e02616cdb2ec54a02bc354e8507c0f (patch)
tree478097488957d3b554e25868c972a959bb40d78e /build/scripts/compile_java.py
parenta5acb7aa4ca5a4603215e878eb0cad786793262b (diff)
downloadydb-8951ddf780e02616cdb2ec54a02bc354e8507c0f.tar.gz
`build/scripts` ya style --py
Diffstat (limited to 'build/scripts/compile_java.py')
-rw-r--r--build/scripts/compile_java.py21
1 files changed, 19 insertions, 2 deletions
diff --git a/build/scripts/compile_java.py b/build/scripts/compile_java.py
index e2c12852ea..d0176a9a56 100644
--- a/build/scripts/compile_java.py
+++ b/build/scripts/compile_java.py
@@ -78,11 +78,28 @@ def main():
ts.write(' '.join(ktsrcs + srcs))
kt_classes_dir = 'kt_cls'
mkdir_p(kt_classes_dir)
- sp.check_call([opts.java_bin, '-Didea.max.content.load.filesize=30720', '-jar', opts.kotlin_compiler, '-classpath', classpath, '-d', kt_classes_dir] + ktc_opts + ['@' + temp_kt_sources_file])
+ sp.check_call(
+ [
+ opts.java_bin,
+ '-Didea.max.content.load.filesize=30720',
+ '-jar',
+ opts.kotlin_compiler,
+ '-classpath',
+ classpath,
+ '-d',
+ kt_classes_dir,
+ ]
+ + ktc_opts
+ + ['@' + temp_kt_sources_file]
+ )
classpath = os.pathsep.join([kt_classes_dir, classpath])
if srcs:
- sp.check_call([opts.javac_bin, '-nowarn', '-g', '-classpath', classpath, '-encoding', 'UTF-8', '-d', classes_dir] + javac_opts + ['@' + temp_sources_file])
+ sp.check_call(
+ [opts.javac_bin, '-nowarn', '-g', '-classpath', classpath, '-encoding', 'UTF-8', '-d', classes_dir]
+ + javac_opts
+ + ['@' + temp_sources_file]
+ )
for s in jsrcs:
if s.endswith('-sources.jar'):