Package name.jurgenei.gradle.python
Class PythonRunnerPlugin
java.lang.Object
name.jurgenei.gradle.python.PythonRunnerPlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
public class PythonRunnerPlugin
extends Object
implements org.gradle.api.Plugin<org.gradle.api.Project>
Gradle plugin entry point that registers the
PythonRunnerTask task.
The task executes Python scripts in an isolated virtual environment and can install dependencies from a requirements file with hash-based change detection.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(org.gradle.api.Project project) Registers thePythonRunnerTasktask in the target project.
-
Constructor Details
-
PythonRunnerPlugin
public PythonRunnerPlugin()Creates the plugin instance.
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project) Registers thePythonRunnerTasktask in the target project.- Specified by:
applyin interfaceorg.gradle.api.Plugin<org.gradle.api.Project>- Parameters:
project- Gradle project where the task is registered
-