Package ch.so.agi.gretl.util
Class TaskUtil
java.lang.Object
ch.so.agi.gretl.util.TaskUtil
Utility Class with methods used in the Tasks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FilecreateAbsolutePath(Object filePath, org.gradle.api.Project gradleProject) Converts the given path relative to the gradle project to a absolute path and returns the absolute path.static org.gradle.api.GradleExceptionUsed to Convert a thrown Exception into a GradleException.
-
Constructor Details
-
TaskUtil
public TaskUtil()
-
-
Method Details
-
toGradleException
Used to Convert a thrown Exception into a GradleException. GradleException must be thrown to halt the Execution of the gradle build. GretlException intances are converted, all other Exceptions are wrapped (nested) -
createAbsolutePath
Converts the given path relative to the gradle project to a absolute path and returns the absolute path.
-