Class JPOSPlugin
java.lang.Object
org.jpos.gradle.JPOSPlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
public abstract class JPOSPlugin
extends Object
implements org.gradle.api.Plugin<org.gradle.api.Project>
The JPOSPlugin is a Gradle plugin for building, installing, and running jPOS-based applications.
It sets up various tasks such as creating distribution archives, installing the app, and managing build information.
This class also defines custom tasks related to the jPOS project lifecycle, including handling distribution archives and test reports.
-
Constructor Summary
ConstructorsConstructorDescriptionJPOSPlugin(org.gradle.api.file.ArchiveOperations archiveOperations) Constructor used by Gradle to instantiate the plugin. -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(org.gradle.api.Project project) Applies the plugin to the specified project, setting up various tasks and configurations specific to the jPOS project.
-
Constructor Details
-
JPOSPlugin
@Inject public JPOSPlugin(org.gradle.api.file.ArchiveOperations archiveOperations) Constructor used by Gradle to instantiate the plugin.- Parameters:
archiveOperations- injected service used to expand dependency jars without touching the Project at execution time (configuration-cache compatibility)
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project) Applies the plugin to the specified project, setting up various tasks and configurations specific to the jPOS project.- Specified by:
applyin interfaceorg.gradle.api.Plugin<org.gradle.api.Project>- Parameters:
project- the Gradle project to which this plugin is applied
-