@CompileStatic class DockerJavaApplicationPlugin extends DockerConventionJvmApplicationPlugin<DockerJavaApplication>
Opinionated Gradle plugin for creating and pushing a Docker image for a Java application.
This plugin can be configured with the help of DockerJavaApplication.
Modifiers | Name | Description |
---|---|---|
static String |
JAVA_APPLICATION_EXTENSION_NAME |
The name of extension registered with type DockerJavaApplication. |
Constructor and description |
---|
DockerJavaApplicationPlugin
() |
Type Params | Return Type | Name and description |
---|---|---|
|
protected DockerJavaApplication |
configureExtension(ObjectFactory objectFactory, DockerExtension dockerExtension) |
|
protected String |
findMainClassName(File classesDir) |
The name of extension registered with type DockerJavaApplication.