ApplicationModelWorkerImpl
The ApplicationModelWorker is mill's integration against Quarkus bootstrapping.
At the moment there are 2 stages supported:
- Create a single module's Application Model and serialize it
- Feed the deserialised model from step 1 to QuarkusBootstrap and execute the Quarkus build with an AugmentAction
In addition, a helper method supports picking in the library or module dependencies to detect which have deployment dependencies.
For more information on that see https://quarkus.io/guides/conditional-extension-dependencies
Attributes
- Source
- ApplicationModelWorkerImpl.scala
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Attributes
Attributes
- Definition Classes
-
AutoCloseable
- Source
- ApplicationModelWorkerImpl.scala
Bootstraps a Quarkus Application with the application model provided (usually created by quarkusGenerateApplicationModel). Needs a target directory and a compiled artifact (jar)
Bootstraps a Quarkus Application with the application model provided (usually created by quarkusGenerateApplicationModel). Needs a target directory and a compiled artifact (jar)
Value parameters
- applicationModelFile
-
The path of the serialized application model file
- destRunJar
-
The directory to store the resulting
quarkus-run.jar - jar
-
The jar created by the Mill JavaModule (outside of Quarkus)
Attributes
- Returns
-
The path of the resulting
quarkus-run.jar - Source
- ApplicationModelWorkerImpl.scala
Uses Quarkus CodeGenContext to generate code for the given application model. Quarkus does not rely on Javac annotation processors but has its own bespoke process that is fully managed. Adaptation from io.quarkus.gradle.tasks.worker.CodeGenWorker
Uses Quarkus CodeGenContext to generate code for the given application model. Quarkus does not rely on Javac annotation processors but has its own bespoke process that is fully managed. Adaptation from io.quarkus.gradle.tasks.worker.CodeGenWorker
Attributes
- Definition Classes
- Source
- ApplicationModelWorkerImpl.scala
A helper method for any Mill QuarkusModule that detects which dependencies are runtime extension artifacts and thus have a deployment equivalent as specified in https://quarkus.io/guides/conditional-extension-dependencies
A helper method for any Mill QuarkusModule that detects which dependencies are runtime extension artifacts and thus have a deployment equivalent as specified in https://quarkus.io/guides/conditional-extension-dependencies
Value parameters
- runtimeDeps
-
The already resolved runtime dependencies
Attributes
- Returns
-
The sublist of the runtimeDeps, which are extension runtime deps.
- Definition Classes
- Source
- ApplicationModelWorkerImpl.scala
Value parameters
- appModel
-
The AppModel domain object
- destination
-
The directory to store the serialized application model file (*.dat)
Attributes
- Returns
-
The path of the file with the serialized Quarkus Application Model
- Definition Classes
- Source
- ApplicationModelWorkerImpl.scala