Package de.uni_passau.fim.prog1pa
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 java.lang.Object implements org.gradle.api.Plugin<org.gradle.api.Project>APluginused 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 voidapply(org.gradle.api.Project project)static java.lang.StringgetSolutionZipArchiveName(org.gradle.api.Project project)Returns the name to be used for the archive produced by the 'solutionZip' task.
-
-
-
Method Detail
-
apply
public void apply(org.gradle.api.Project project)
- Specified by:
applyin interfaceorg.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 theARCHIVE_NAME_PROPERTYproperty.- Parameters:
project- the current GradleProject- Returns:
- the archive name
-
-