Package edu.wpi.first.gradlerio.deploy
Class WPIRemoteTarget
- java.lang.Object
-
- edu.wpi.first.deployutils.deploy.target.RemoteTarget
-
- edu.wpi.first.gradlerio.deploy.StagedDeployTarget
-
- edu.wpi.first.gradlerio.deploy.WPIRemoteTarget
-
- All Implemented Interfaces:
org.gradle.api.Named
- Direct Known Subclasses:
RoboRIO
public abstract class WPIRemoteTarget extends StagedDeployTarget
-
-
Field Summary
Fields Modifier and Type Field Description org.gradle.api.tasks.TaskProvider<TargetDebugFileTask>debugFileTask
-
Constructor Summary
Constructors Constructor Description WPIRemoteTarget(java.lang.String name, org.gradle.api.Project project, edu.wpi.first.deployutils.deploy.DeployExtension de, FRCExtension frcExtension)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.gradle.api.provider.Provider<java.lang.String>getBuildType()Gets a mapping of getDebug() to the correct build type for C++.org.gradle.api.provider.Property<java.lang.Boolean>getDebug()Gets or Sets if debugging should be enabled for this target.org.gradle.api.tasks.TaskProvider<TargetDebugFileTask>getDebugFileTask()-
Methods inherited from class edu.wpi.first.gradlerio.deploy.StagedDeployTarget
setDeployStage
-
Methods inherited from class edu.wpi.first.deployutils.deploy.target.RemoteTarget
getArtifacts, getArtifactTypeClass, getDeployTask, getDirectory, getLocations, getLocationTypeClass, getMaxChannels, getName, getOnlyIf, getProject, getStandaloneDeployTask, getStorageServiceProvider, getTargetDiscoveryTask, getTargetPlatform, getTimeout, isDry, isFailOnMissing, setDirectory, setDry, setFailOnMissing, setMaxChannels, setOnlyIf, setTimeout, toString, verify
-
-
-
-
Field Detail
-
debugFileTask
public final org.gradle.api.tasks.TaskProvider<TargetDebugFileTask> debugFileTask
-
-
Constructor Detail
-
WPIRemoteTarget
@Inject public WPIRemoteTarget(java.lang.String name, org.gradle.api.Project project, edu.wpi.first.deployutils.deploy.DeployExtension de, FRCExtension frcExtension)
-
-
Method Detail
-
getDebug
public org.gradle.api.provider.Property<java.lang.Boolean> getDebug()
Gets or Sets if debugging should be enabled for this target. Implies debug binaries in C++. For Java, use `wpi.java.debugJni = true` to deploy debug JNI artifacts.- Returns:
- Property for debug mode.
-
getBuildType
public org.gradle.api.provider.Provider<java.lang.String> getBuildType()
Gets a mapping of getDebug() to the correct build type for C++.- Returns:
- Build Type mapping for getDebug()
-
getDebugFileTask
public org.gradle.api.tasks.TaskProvider<TargetDebugFileTask> getDebugFileTask()
-
-