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

    Constructors
    Constructor
    Description
    JPOSPlugin(org.gradle.api.file.ArchiveOperations archiveOperations)
    Constructor used by Gradle to instantiate the plugin.
  • Method Summary

    Modifier and Type
    Method
    Description
    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.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      apply in interface org.gradle.api.Plugin<org.gradle.api.Project>
      Parameters:
      project - the Gradle project to which this plugin is applied