Class 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
    • Constructor Summary

      Constructors 
      Constructor Description
      CompileWorker()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.gradle.workers.WorkAction

        getParameters
    • Constructor Detail

      • CompileWorker

        public CompileWorker()
    • Method Detail

      • execute

        public void execute()
        Specified by:
        execute in interface org.gradle.workers.WorkAction<CompileParameters>