Browse Source

Set idea.max.content.load.filesize globally

a-beliakov 1 year ago
parent
commit
71fe3eaed2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build/scripts/compile_java.py

+ 1 - 1
build/scripts/compile_java.py

@@ -78,7 +78,7 @@ def main():
             ts.write(' '.join(ktsrcs + srcs))
         kt_classes_dir = 'kt_cls'
         mkdir_p(kt_classes_dir)
-        sp.check_call([opts.java_bin, '-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: