- call(Closure) - Method in DependencyHandler
-
- call(Closure) - Method in RustDependencyHandler
-
Groovy extension that will pass any configurating closure
- CargoCommandLineOptions - Class in org.ysb33r.gradle.rust.cargo.internal
Builds cargo command-line options.
- CargoExecutionException - Class in org.ysb33r.gradle.rust.cargo
Thrown when execution of a cargo
task fails.
- CargoExecutionException(String, File, File, Exception) - Constructor in CargoExecutionException
-
- CargoExtension - Class in org.ysb33r.gradle.rust.cargo
Extension to set Cargo defaults.
- CargoManifest - Class in org.ysb33r.gradle.rust.cargo
Specifies a Cargo manifest.
- CargoManifest(Project) - Constructor in CargoManifest
-
- CargoManifestTask - Class in org.ysb33r.gradle.rust.tasks
Ability to create Cargo manifest files.
- CargoManifestTask() - Constructor in CargoManifestTask
-
- CargoOptions - Class in org.ysb33r.gradle.rust.cargo
Options for passing to cargo
- CargoPackage - Class in org.ysb33r.gradle.rust.cargo.internal
Describes the package
section of a Cargo manifest.
- CargoPackage(Project) - Constructor in CargoPackage
-
- CargoPlugin - Class in org.ysb33r.gradle.rust.cargo
Adds rules for running cargo
commands from the Gradle command-line.
- cargoToml(Object) - Method in RustExtension
-
If a Cargo.toml
file should be used to augment configuration, this is the place to configure its location.
- CargoTomlParser - Class in org.ysb33r.gradle.rust.cargo.internal
Parses a Cargo.toml
file.
- CargoTomlParser(Project, CargoPackage, RustDependencyHandler) - Constructor in CargoTomlParser
-
Parser for a Cargo.toml
file.
- compare(ConfigurableDependency) - Method in ConfigurableDependency
-
Base method for comparing to instances of ConfigurableDependency
.
- compile(Action<RustConfigurableDependency>) - Method in DependencyHandler
-
- compile(Action<RustConfigurableDependency>) - Method in RustDependencyHandler
-
Add a dependency via an Gradle Action
- ConfigurableDependency - Class in org.ysb33r.gradle.rust.internal.dependencies
@since 0.1
- configure(Action<RustDependencyHandler>) - Method in DependencyHandler
-
- configure(Action<RustDependencyHandler>) - Method in RustDependencyHandler
-
Configure th handler via a Gradle action.
- configure() - Method in RustGuiceModule
-
- contentEquals(Dependency) - Method in ConfigurableDependency
-
Returns whether two dependencies have identical values for their properties.
- contentEquals(Dependency) - Method in NameVersionDependency
-
Returns whether two dependencies have identical values for their properties.
- contentEquals(Dependency) - Method in PatchDependency
-
Returns whether two dependencies have identical values for their properties.
- copy() - Method in ConfigurableDependency
-
Creates and returns a new ConfigurableDependency
with the property values of this one.
- copy() - Method in NameVersionDependency
-
Creates and returns a new dependency with the property values of this one.
- createManifestTask(Project, String, String, String) - Method in RustConventions
-
Creates a task that will generate a Cargo manifest file.
- createRustCompileTask(Project) - Method in AbstractRustPlugin
-
- createRustCompileTask(Project) - Method in RustApplicationPlugin
-
- createRustCompileTask(Project) - Method in RustLibraryPlugin
-
- createSourceCopyTask(Project, String, String) - Method in RustConventions
-
Creates a task that will copy Rust source code to a place where it can be dealt with by Cargo layout.
- getAbiToolsSearchPath() - Method in RustExtension
-
Returns a list of paths to search for linker etc. in the operating system format.
- getAndVerifyDistributionRoot(File, String) - Method in RustInstaller
-
- getAppRunnerTaskName(String) - Method in RustConventions
-
Returns the name of the task that will run a compiled Rust application.
- getAuthors() - Method in CargoPackage
-
- getBuild() - Method in DependencyHandler
-
Return the Rust build dependencies configuration.
- getBuild() - Method in RustDependencyHandler
-
Returns the container will all build dependencies.
- getCargoCommand() - Method in AbstractCargoRunnerTask
-
- getCargoCommand() - Method in RustCompile
-
- getCargoCommand() - Method in RustTestTask
-
- getCargoCommandOptions() - Method in AbstractCargoRunnerTask
-
- getCargoCommandOptions() - Method in AbstractRustCompile
-
- getCargoCommandOptions() - Method in RustCompile
-
- getCargoCommandOptions() - Method in RustTestTask
-
- getCargoExecutablePath() - Method in RustInstaller
-
Returns the location of the cargo executable
.
- getCargoOutputFiles() - Method in AbstractCargoRunnerTask
-
Files where Cargo output and errors are logged to.
- getCargoToml() - Method in RustExtension
-
Returns the Cargo.toml
file location to read information from.
- getCargoWorkingDir() - Method in AbstractCargoRunnerTask
-
- getCargoWorkingDir() - Method in AbstractRustLifecycleTask
-
- getCompile() - Method in DependencyHandler
-
Return the Rust dependencies configuration.
- getCompile() - Method in RustDependencyHandler
-
Returns the container will all compile dependencies.
- getCompileTaskNames(String) - Method in RustConventions
-
Returns a map of compilation task names as related to various phases
of the Rust development cycle.
- getCompileType() - Method in AbstractRustCompile
-
- getDependencies() - Method in DependencyContainer
-
- getDependencies() - Method in RustDependencyConfiguration
-
Returns all dependencies that are not target (platform) specific.
- getExecutable() - Method in RustApplicationExec
-
Path to application executable.
- getExtensionByName(Project, String) - Method in GradleDependencyHandlerUtils
-
- getFeatures() - Method in ConfigurableDependency
-
List of optional features previsouly set by the user.
- getFeatures() - Method in NameVersionDependency
-
Short-form dependencies cannot have features configured.
- getFeatures() - Method in RustDependency
-
The list of features that the user has requested.
- getGroup() - Method in ConfigurableDependency
-
Returns the group of this dependency.
- getGroup() - Method in NameVersionDependency
-
Returns the group of this dependency.
- getHasFeatures() - Method in ConfigurableDependency
-
Indicates whether optional features has been requested.
- getHasFeatures() - Method in NameVersionDependency
-
Short-form dependencies cannot have features configured.
- getHasFeatures() - Method in RustDependency
-
WHether the user has requested optional features for a dependency
- getLayout() - Method in RustExtension
-
Returns a representation of the Ryst source code layout.
- getManifest() - Method in CargoManifestTask
-
- getName() - Method in CargoPackage
-
- getName() - Method in ConfigurableDependency
-
Returns the name of this dependency.
- getName() - Method in DependencyContainer
-
- getOptions() - Method in AbstractCargoRunnerTask
-
- getOutputDir() - Method in AbstractRustCompile
-
Directory where binaries are written to.
- getOutputFile() - Method in CargoManifestTask
-
- getPackage() - Method in CargoManifest
-
- getPatches() - Method in DependencyHandler
-
Returns the container with all local patches.
- getPatches() - Method in RustDependencyHandler
-
Returns the container with all local patches.
- getPatchesAsMap() - Method in DependencyHandler
-
Map the local patches on a per repository-basis
- getPatchesAsMap() - Method in RustDependencyHandler
-
Map the local patches on a per repository-basis
- getReason() - Method in ConfigurableDependency
-
Returns a reason why this dependency should be used, in particular with regards to its version.
- getReason() - Method in NameVersionDependency
-
Returns a reason why this dependency should be used, in particular with regards to its version.
- getRustcExecutablePath() - Method in RustInstaller
-
Returns the location of the rustc executable
.
- getRustExtension() - Method in AbstractCargoRunnerTask
-
Gets the Rust extension associated with this task.
- getRustSourceCodeWorkingDir() - Method in AbstractRustCompile
-
Directory where source code is to be found which can be compiled (after Gradle processing).
- getRustTextReport() - Method in RustTestTask
-
The reports produced by this RustTestTask
.
- getRustWorkingDir() - Method in AbstractRustLifecycleTask
-
- getSourceFiles() - Method in AbstractRustCompile
-
- getTarget() - Method in ConfigurableDependency
-
Get the associated target platform.
- getTarget() - Method in NameVersionDependency
-
Indicates whether the dependency is platform-specific
- getTarget() - Method in RustConfigurableDependency
-
- getTarget() - Method in RustDependency
-
Indicates whether the dependency is platform-specific
- getTargetDependencies() - Method in DependencyContainer
-
Dependencies that are Target (platform) specific.
- getTargetDependencies() - Method in RustDependencyConfiguration
-
Dependencies that are Target (platform) specific.
- getTest() - Method in DependencyHandler
-
Return the Rust dev dependencies configuration.
- getTest() - Method in RustDependencyHandler
-
Returns the container will all test dependencies.
- getTestTaskNames(String) - Method in RustConventions
-
Returns a map of test task names as related to the test and benchmark parts of
the Rust development cycle.
- getVersion() - Method in CargoPackage
-
- getVersion() - Method in ConfigurableDependency
-
Returns the version of this dependency.
- getWithDefaultFeatures() - Method in ConfigurableDependency
-
Returns whether default features should be included.
- getWithDefaultFeatures() - Method in RustConfigurableDependency
-
Returns whether default features should be included or not.
- git(String, String) - Method in ConfigurableDependency
-
Define a Git repository and associated branch where dependency is stored.
- git(String, String) - Method in RustConfigurableDependency
-
- GradleDependencyHandlerUtils - Class in org.ysb33r.gradle.rust.internal.dependencies
Abstracts Gradle internals away from rest of plugin.