Class WarAttachClassesPlugin

java.lang.Object
io.freefair.gradle.plugins.maven.war.WarAttachClassesPlugin
All Implemented Interfaces:
Plugin<Project>

public class WarAttachClassesPlugin extends Object implements Plugin<Project>
Plugin that attaches a classes JAR as an artifact alongside the WAR.

Adds attachClasses and classesClassifier extension properties to War tasks. When attachClasses is enabled, the main classes JAR is published as an additional artifact with the specified classifier (defaults to "classes").

This allows other projects to depend on the WAR's classes without depending on the entire WAR file.

  • Constructor Details

    • WarAttachClassesPlugin

      public WarAttachClassesPlugin()
  • Method Details