Class WPIOnDiskDependency
java.lang.Object
org.wpilib.nativeutils.dependencies.WPIOnDiskDependency
- All Implemented Interfaces:
org.gradle.api.Named,NativeDependency
A native dependency whose files are already available on disk.
The keys in getBuildDependencies() and
getRuntimeDependencies() are native platform names. Platforms not
present in either map are treated as header-only platforms. If both maps
are empty, the dependency is header-only on every platform.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.Named
org.gradle.api.Named.Namer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPlatform names mapped to files needed while linking the dependency.abstract org.gradle.api.file.DirectoryPropertyThe directory containing the dependency's headers.getName()Platform names mapped to files that must be available when running the application.resolveNativeDependency(org.gradle.nativeplatform.platform.NativePlatform platform, org.gradle.nativeplatform.BuildType buildType, Optional<FastDownloadDependencySet> loaderDependencySet)
-
Constructor Details
-
WPIOnDiskDependency
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceorg.gradle.api.Named
-
getHeaders
public abstract org.gradle.api.file.DirectoryProperty getHeaders()The directory containing the dependency's headers. -
getBuildDependencies
Platform names mapped to files needed while linking the dependency. -
getRuntimeDependencies
Platform names mapped to files that must be available when running the application. -
resolveNativeDependency
public Optional<ResolvedNativeDependency> resolveNativeDependency(org.gradle.nativeplatform.platform.NativePlatform platform, org.gradle.nativeplatform.BuildType buildType, Optional<FastDownloadDependencySet> loaderDependencySet) - Specified by:
resolveNativeDependencyin interfaceNativeDependency
-