Package io.github.kelvindev15.gradle
Class PackageJsonExtension.NpmTaskDependency
-
- All Implemented Interfaces:
public final class PackageJsonExtension.NpmTaskDependencyA script dependency for package scripts.
taskName The name of the script. projectName The name of the project in which the script is defined.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringtaskNameprivate final StringprojectName
-
Constructor Summary
Constructors Constructor Description PackageJsonExtension.NpmTaskDependency(String taskName, String projectName)
-
Method Summary
Modifier and Type Method Description final StringgetTaskName()final StringgetProjectName()final TaskasGradleTask(Project project)Get the script as a Gradle task. -
-
Method Detail
-
getTaskName
final String getTaskName()
-
getProjectName
final String getProjectName()
-
asGradleTask
final Task asGradleTask(Project project)
Get the script as a Gradle task.
-
-
-
-