diff options
| author | binLep <[email protected]> | 2026-02-26 11:00:04 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-02-26 11:00:04 +0800 |
| commit | 08db45b75bd4354bd40efcdff52bdf917d385f1a (patch) | |
| tree | 67130afdea15faa59132b68d1e97d194b81f5716 | |
| parent | c6811ca904356ef5439f3e6aff3c11b48e4903d8 (diff) | |
do not fix the JDK version in the swig rules
| -rw-r--r-- | xmake/rules/swig/build_module_file.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/swig/build_module_file.lua b/xmake/rules/swig/build_module_file.lua index a8a678cf7..8aaf29e3f 100644 --- a/xmake/rules/swig/build_module_file.lua +++ b/xmake/rules/swig/build_module_file.lua @@ -66,7 +66,7 @@ function jar_build(target, fileconfig, opt) -- compile to class file progress.show(opt.progress, "${color.build.object}compiling.javac %s class file", target:name()) - os.vrunv(javac.program, {"--release", "17", "-d", java_class_dir, "@" .. filelistname}) + os.vrunv(javac.program, {"-d", java_class_dir, "@" .. filelistname}) -- generate jar file progress.show(opt.progress, "${color.build.object}compiling.jar %s", target:name() .. ".jar") |
