@CompileStatic abstract class DockerConventionJvmApplicationPlugin extends Object
The abstract class for all conventional JVM application plugins.
Modifiers | Name | Description |
---|---|---|
static String |
BUILD_IMAGE_TASK_NAME |
The task name that builds the Docker image for the Java application. |
static String |
DOCKERFILE_TASK_NAME |
The task name that creates the Docker image for the Java application. |
static String |
PUSH_IMAGE_TASK_NAME |
The task name that pushes created Docker image to the repository. |
static String |
SYNC_BUILD_CONTEXT_TASK_NAME |
The task name that copies the application files to a temporary directory for image creation. |
Type Params | Return Type | Name and description |
---|---|---|
|
void |
apply(Project project) |
|
protected EXT |
configureExtension(ObjectFactory objectFactory, DockerExtension dockerExtension) |
|
protected String |
findMainClassName(File classesDir) |
The task name that builds the Docker image for the Java application.
The task name that creates the Docker image for the Java application.
The task name that pushes created Docker image to the repository.
The task name that copies the application files to a temporary directory for image creation.