Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6fd8d63 commit 2ba8ccaCopy full SHA for 2ba8cca
1 file changed
java/kotlin-extractor/build.py
@@ -23,7 +23,7 @@ def compile_to_dir(srcs, classpath, java_classpath, output):
23
# Use javac to compile .java files, referencing the Kotlin class files:
24
subprocess.run([javac,
25
'-d', output,
26
- '--release', '8',
+ '-source', '8', '-target', '8',
27
'-classpath', "%s:%s:%s" % (output, classpath, java_classpath)] + [s for s in srcs if s.endswith(".java")], check=True)
28
29
0 commit comments