Dependencies Configurations
This chapter describes all the dependency configurations added to your project by the MicroEJ Gradle plugins.
Note
The MicroEJ Gradle plugins extend the Gradle Java and Java Library plugins. For more information about the configurations inherited from those plugins, refer to the official documentation :
The following graph describes the dependency configurations. Use this legend to interpret the colors:
Green background : Dependencies can be declared against this configuration
Gray background : This configuration is for consumption by tasks only
Blue background : A task
The MicroEJ Gradle plugins also define dependency configurations for internal use:
antScriptLauncherClasspath
, used by the buildVirtualDevice task
addonProcessorClasspath
, used by the adp task
jdtCompilerClasspath
, used by the Add-On Library and Application plugins
wrapperClasspath
, used by thecompileJava
task
microejRuntimeEnvironmentFullRuntimeClasspath
, used by the buildVirtualDevice, buildApplicationObjectFile and buildExecutable tasks
Publication Variants
The Application plugin defines a list of variants that are used during the publication of an Application.
microejWPK
This variant is used to publish the WPK of an Application,
that can be fetched by declaring a dependency with the microejApplication
configuration.
The LibraryElement
attribute of the variant is set to microej-wpk
.
microejExecutable
This variant is used to publish the Executable of an Application,
that can be fetched by declaring a dependency with the microejVee
configuration.
The LibraryElement
attribute of the variant is set to microej-executable
.
microejExecutableBuildFiles
This variant is used to publish the files generated when building the Executable of an Application.
The LibraryElement
attribute of the variant is set to microej-build-files
.
microejVirtualDevice
This variant is used to publish the Virtual Device of an Application,
that can be fetched by declaring a dependency with the microejVee
configuration.
The LibraryElement
attribute of the variant is set to microej-vee-port
.
microejMockRip
This variant is used to publish a Mock.
The LibraryElement
attribute of the variant is set to microej-rip
.
runtimeEnvironment
This variant is used to publish a Runtime Environment,
that can be fetched by declaring a dependency with the microejRuntimeEnvironment
configuration.
The LibraryElement
attribute of the variant is set to microej-runtime-environment
.