VS code code not deploying

we have recently switched programming computers and I can’t get code to upload on the new computer here is the error code. Does anyone know a soloution to this

Executing task in folder FRC_2019_Preseason: gradlew build -Dorg.gradle.java.home=“C:\Users\Public\frc2019\jdk” <

FAILURE: Build failed with an exception.

  • Where:
    Build file ‘C:\Users\Cybergnomes\Desktop\FRC_2019_Preseason\build.gradle’ line: 59

  • What went wrong:
    Could not determine the dependencies of task ‘:jar’.

Could not resolve all files for configuration ‘:compile’.
Could not resolve com.revrobotics.frc:SparkMax-java:1.0.27.
Required by:
project :
Could not resolve com.revrobotics.frc:SparkMax-java:1.0.27.
Could not get resource ‘https://repo.maven.apache.org/maven2/com/revrobotics/frc/SparkMax-java/1.0.27/SparkMax-java-1.0.27.pom’.
Could not GET ‘https://repo.maven.apache.org/maven2/com/revrobotics/frc/SparkMax-java/1.0.27/SparkMax-java-1.0.27.pom’.
repo.maven.apache.org
Could not resolve com.revrobotics.frc:SparkMax-java:1.0.27.
Could not get resource ‘http://first.wpi.edu/FRC/roborio/maven/release/com/revrobotics/frc/SparkMax-java/1.0.27/SparkMax-java-1.0.27.pom’.
Could not GET ‘http://first.wpi.edu/FRC/roborio/maven/release/com/revrobotics/frc/SparkMax-java/1.0.27/SparkMax-java-1.0.27.pom’.
first.wpi.edu
Could not resolve com.revrobotics.frc:SparkMax-java:1.0.27.
Could not get resource ‘http://www.revrobotics.com/content/sw/max/sdk/maven/com/revrobotics/frc/SparkMax-java/1.0.27/SparkMax-java-1.0.27.pom’.
Could not GET ‘http://www.revrobotics.com/content/sw/max/sdk/maven/com/revrobotics/frc/SparkMax-java/1.0.27/SparkMax-java-1.0.27.pom’.
www.revrobotics.com
Could not resolve com.revrobotics.frc:SparkMax-java:1.0.27.
Could not get resource ‘http://devsite.ctr-electronics.com/maven/release/com/revrobotics/frc/SparkMax-java/1.0.27/SparkMax-java-1.0.27.pom’.
Could not GET ‘http://devsite.ctr-electronics.com/maven/release/com/revrobotics/frc/SparkMax-java/1.0.27/SparkMax-java-1.0.27.pom’.
devsite.ctr-electronics.com
Could not resolve com.revrobotics.frc:SparkMax-java:1.0.27.
Could not get resource ‘http://wpimirror.imjac.in/m2/release/com/revrobotics/frc/SparkMax-java/1.0.27/SparkMax-java-1.0.27.pom’.
Could not GET ‘http://wpimirror.imjac.in/m2/release/com/revrobotics/frc/SparkMax-java/1.0.27/SparkMax-java-1.0.27.pom’.
wpimirror.imjac.in

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 1m 18s
The terminal process terminated with exit code: 1

Since you cloned to a new computer, you need to run a build while connected to the internet. Then you’ll be able to connect to the robot and deploy.

1 Like

that worked thanks