Class CompileWorker
- java.lang.Object
-
- ru.vyarus.gradle.plugin.teavm.task.CompileWorker
-
- All Implemented Interfaces:
org.gradle.workers.WorkAction<CompileParameters>
public abstract class CompileWorker extends java.lang.Object implements org.gradle.workers.WorkAction<CompileParameters>
TeaVM compilation worker. Worker used to execute teavm inside custom classpath (dynamic teavm version selection). Worker might be executed in different jvm (gradle daemon) and so there are no direct communication between worker and plugin (only parameters could be passed into worker). Special file used to indicate compilation fail: if worker creates file, task would throw an exception.Logging is not supported inside worker so everything is logged into system out (user will see it).
- Since:
- 06.01.2023
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCompileWorker.LogDelegateTeaVM logs delegate.static classCompileWorker.LogListenerTeaVM progress indicator.
-
Constructor Summary
Constructors Constructor Description CompileWorker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()
-
-
-
Method Detail
-
execute
public void execute()
- Specified by:
executein interfaceorg.gradle.workers.WorkAction<CompileParameters>
-
-