Class Prog1PAPlugin

  • All Implemented Interfaces:
    org.gradle.api.Plugin<org.gradle.api.Project>

    public class Prog1PAPlugin
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      Prog1PAPlugin()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void apply​(org.gradle.api.Project project)  
      static java.lang.String getSolutionZipArchiveName​(org.gradle.api.Project project)
      Returns the name to be used for the archive produced by the 'solutionZip' task.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Prog1PAPlugin

        public Prog1PAPlugin()
    • Method Detail

      • 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 java.lang.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