mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Fix NPE when omitting WASM binary version in maven plugin
This commit is contained in:
parent
9c33ef686b
commit
a30ac3cd83
|
@ -63,9 +63,6 @@ public abstract class AbstractTeaVMMojo extends AbstractMojo {
|
|||
@Parameter
|
||||
protected boolean minifying = true;
|
||||
|
||||
@Parameter
|
||||
protected String mainClass;
|
||||
|
||||
@Parameter
|
||||
protected Properties properties;
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@ public class TeaVMCompileMojo extends AbstractTeaVMMojo {
|
|||
private TeaVMTool tool = new TeaVMTool();
|
||||
|
||||
@Parameter
|
||||
private WasmBinaryVersion wasmVersion;
|
||||
private WasmBinaryVersion wasmVersion = WasmBinaryVersion.V_0xC;
|
||||
|
||||
@Override
|
||||
protected File getTargetDirectory() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user