Class Prog1PAPlugin
java.lang.Object
de.uni_passau.fim.prog1pa.Prog1PAPlugin
- All Implemented Interfaces:
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(org.gradle.api.Project project) static StringgetSolutionZipArchiveName(org.gradle.api.Project project) Returns the name to be used for the archive produced by the 'solutionZip' task.
-
Constructor Details
-
Prog1PAPlugin
public Prog1PAPlugin()
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project) - Specified by:
applyin interfaceorg.gradle.api.Plugin<org.gradle.api.Project>
-
getSolutionZipArchiveName
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
-