Index
All Classes and Interfaces|All Packages
A
- apply(Project) - Method in class io.github.howtis.pythonembed.gradle.PythonEmbedPlugin
C
- createVenv() - Method in class io.github.howtis.pythonembed.gradle.VenvTask
G
- generate() - Method in class io.github.howtis.pythonembed.gradle.PythonEmbedPlugin.GeneratePropsTask
- GeneratePropsTask() - Constructor for class io.github.howtis.pythonembed.gradle.PythonEmbedPlugin.GeneratePropsTask
- getOutputDir() - Method in class io.github.howtis.pythonembed.gradle.PythonEmbedPlugin.GeneratePropsTask
-
Output directory for the properties file (under resources).
- getPackages() - Method in class io.github.howtis.pythonembed.gradle.PythonEmbedExtension
-
List of pip packages to install (default: empty).
- getPackages() - Method in class io.github.howtis.pythonembed.gradle.VenvTask
-
List of pip packages to install.
- getPipExtraArgs() - Method in class io.github.howtis.pythonembed.gradle.PythonEmbedExtension
-
Optional extra pip install arguments (e.g., --extra-index-url, -f).
- getPipExtraArgs() - Method in class io.github.howtis.pythonembed.gradle.VenvTask
-
Optional extra pip install arguments (e.g., --extra-index-url, -f).
- getPipIndexUrl() - Method in class io.github.howtis.pythonembed.gradle.PythonEmbedExtension
-
Optional pip index URL (e.g., PyTorch CUDA index).
- getPipIndexUrl() - Method in class io.github.howtis.pythonembed.gradle.VenvTask
-
Optional pip index URL (e.g., PyTorch CUDA index).
- getPyprojectTomlFile() - Method in class io.github.howtis.pythonembed.gradle.PythonEmbedExtension
-
Optional path to pyproject.toml (relative to project root).
- getPyprojectTomlFile() - Method in class io.github.howtis.pythonembed.gradle.VenvTask
-
Optional path to pyproject.toml (relative to project root).
- getPythonVersion() - Method in class io.github.howtis.pythonembed.gradle.PythonEmbedExtension
-
Python version to use (default: "3.12").
- getPythonVersion() - Method in class io.github.howtis.pythonembed.gradle.VenvTask
-
Python version to use for auto-download (default: "3.12").
- getRequirementsFile() - Method in class io.github.howtis.pythonembed.gradle.PythonEmbedExtension
-
Optional path to requirements.txt (relative to project root).
- getRequirementsFile() - Method in class io.github.howtis.pythonembed.gradle.VenvTask
-
Optional path to requirements.txt (relative to project root).
- getVenvDir() - Method in class io.github.howtis.pythonembed.gradle.PythonEmbedPlugin.GeneratePropsTask
-
The venv directory (input).
- getVenvDir() - Method in class io.github.howtis.pythonembed.gradle.VenvTask
-
Path to the output directory that will be packaged as a resource.
- getVenvOutputDir() - Method in class io.github.howtis.pythonembed.gradle.PythonEmbedExtension
-
Output directory for the Python virtual environment.
I
- io.github.howtis.pythonembed.gradle - package io.github.howtis.pythonembed.gradle
P
- parse(Path) - Static method in class io.github.howtis.pythonembed.gradle.RequirementsParser
-
Parses a requirements.txt file and returns the list of package specs.
- PythonEmbedExtension - Class in io.github.howtis.pythonembed.gradle
-
Configuration extension for the pythonEmbed plugin.
- PythonEmbedExtension() - Constructor for class io.github.howtis.pythonembed.gradle.PythonEmbedExtension
- PythonEmbedPlugin - Class in io.github.howtis.pythonembed.gradle
-
Gradle plugin that creates a Python environment and installs specified packages at build time.
- PythonEmbedPlugin() - Constructor for class io.github.howtis.pythonembed.gradle.PythonEmbedPlugin
- PythonEmbedPlugin.GeneratePropsTask - Class in io.github.howtis.pythonembed.gradle
-
Generates
META-INF/python-embed.propertieswith the venv path and embedded flag for runtime discovery.
R
- RequirementsParser - Class in io.github.howtis.pythonembed.gradle
-
Parses Python requirements.txt files into a list of package specifications.
V
- VenvTask - Class in io.github.howtis.pythonembed.gradle
-
Gradle task that creates a Python environment and installs packages into it.
- VenvTask() - Constructor for class io.github.howtis.pythonembed.gradle.VenvTask
All Classes and Interfaces|All Packages