open class EarPluginConvention
Ear Plugin Convention.
EarPluginConvention(fileResolver: FileResolver, instantiator: Instantiator)
Construct an EarPluginConvention using internal Instantiator. EarPluginConvention(fileResolver: FileResolver, objectFactory: ObjectFactory)
Construct an EarPluginConvention using public ObjectFactory. |
open fun appDirName(appDirName: String): Unit
Allows changing the application directory. Default is "src/main/application". |
|
open fun deploymentDescriptor(configureClosure: Closure<Any>): EarPluginConvention
Configures the deployment descriptor for this EAR archive. The given closure is executed to configure the deployment descriptor. The DeploymentDescriptor is passed to the closure as its delegate. open fun deploymentDescriptor(configureAction: Action<in DeploymentDescriptor>): EarPluginConvention
Configures the deployment descriptor for this EAR archive. The given action is executed to configure the deployment descriptor. |
|
open fun getAppDirName(): String
The name of the application directory, relative to the project directory. Default is "src/main/application". |
|
open fun getDeploymentDescriptor(): DeploymentDescriptor
A custom deployment descriptor configuration. Default is an "application.xml" with sensible defaults. |
|
open fun getLibDirName(): String
The name of the library directory in the EAR file. Default is "lib". |
|
open fun libDirName(libDirName: String): Unit
Allows changing the library directory in the EAR file. Default is "lib". |
|
open fun setAppDirName(appDirName: String): Unit |
|
open fun setDeploymentDescriptor(deploymentDescriptor: DeploymentDescriptor): Unit |
|
open fun setLibDirName(libDirName: String): Unit |
val EarPluginConvention.ext: ExtraPropertiesExtension
Retrieves the ext extension. |
fun EarPluginConvention.ext(configure: ExtraPropertiesExtension.() -> Unit): Unit
Configures the ext extension. |