Remove "--enable-preview" flag on java compilation

This commit is contained in:
Joshua Suskalo 2024-07-24 18:30:18 -05:00
parent 74af3c084d
commit 4272c7d05d
No known key found for this signature in database
GPG key ID: 9B6BA586EFF1B9F0

View file

@ -50,7 +50,7 @@
[opts]
(.mkdirs (io/file class-dir))
(let [compilation-result
(b/process {:command-args ["javac" "--enable-preview"
(b/process {:command-args ["javac"
"src/java/coffi/ffi/Loader.java"
"-d" class-dir
"-target" "22"