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 Details

    • PythonRunnerPlugin

      public PythonRunnerPlugin()
  • Method Details

    • apply

      public void apply(org.gradle.api.Project project)
      Registers the PythonRunnerTask task in the target project.
      Specified by:
      apply in interface org.gradle.api.Plugin<org.gradle.api.Project>
      Parameters:
      project - Gradle project where the task is registered