Class Prog1PAPlugin

java.lang.Object
de.uni_passau.fim.prog1pa.Prog1PAPlugin
All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>

public class Prog1PAPlugin extends Object implements org.gradle.api.Plugin<org.gradle.api.Project>
A Plugin used for configuring the Gradle projects used in the exercise for 'Programmierung I' at the University of Passau.
  • Constructor Details

    • Prog1PAPlugin

      public Prog1PAPlugin()
  • Method Details

    • apply

      public void apply(org.gradle.api.Project project)
      Specified by:
      apply in interface org.gradle.api.Plugin<org.gradle.api.Project>
    • getSolutionZipArchiveName

      public static String getSolutionZipArchiveName(org.gradle.api.Project project)
      Returns the name to be used for the archive produced by the 'solutionZip' task. This is either the project name or the value of the ARCHIVE_NAME_PROPERTY property.
      Parameters:
      project - the current Gradle Project
      Returns:
      the archive name