Skip to content

Commit

Permalink
fix build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
linglejack06 committed Apr 30, 2024
1 parent 4b6e46d commit 8d8ec1e
Show file tree
Hide file tree
Showing 7 changed files with 43 additions and 28 deletions.
9 changes: 0 additions & 9 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,3 @@ wpi.java.configureExecutableTasks(jar)
tasks.withType(JavaCompile) {
options.compilerArgs.add '-XDstringConcat=inline'
}

project.compileJava.dependsOn(createVersionFile)
gversion {
srcDir = "lib/src/main/java"
classPackage = "coppercore"
dateFormat = "yyyy-MM-dd HH:mm:ss Z"
timeZone = "America/New_York"
indent = " "
}
4 changes: 2 additions & 2 deletions lib/src/main/java/coppercore/constants/FieldConstants.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package coppercore.constants;
package constants;

import edu.wpi.first.math.util.Units;
import edu.wpi.first.math.geometry.Pose2d;
import edu.wpi.first.math.geometry.Rotation2d;
import edu.wpi.first.math.geometry.Translation2d;

public static final class FieldConstants {
public final class FieldConstants {
public static final double lengthM = 16.451;
public static final double widthM = 8.211;

Expand Down
2 changes: 1 addition & 1 deletion lib/src/main/java/coppercore/utils/feedforward/TuneG.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wpi.first.wpilibj2.command.Command;
import frc.robot.utils.Tunable;
import coppercore.utils.Tunable;

public class TuneG extends Command {
private Tunable subsystem;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/main/java/coppercore/utils/feedforward/TuneS.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wpi.first.wpilibj2.command.Command;
import frc.robot.utils.Tunable;
import coppercore.utils.Tunable;

public class TuneS extends Command {
private Tunable subsystem;
Expand Down
2 changes: 1 addition & 1 deletion lib/src/main/java/coppercore/utils/feedforward/TuneV.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
import edu.wpi.first.wpilibj2.command.Command;
import frc.robot.utils.Tunable;
import coppercore.utils.Tunable;
import java.util.ArrayList;

public class TuneV extends Command {
Expand Down
14 changes: 0 additions & 14 deletions lib/src/test/java/org/example/LibraryTest.java

This file was deleted.

38 changes: 38 additions & 0 deletions lib/vendordeps/WPILibNewCommands.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"fileName": "WPILibNewCommands.json",
"name": "WPILib-New-Commands",
"version": "1.0.0",
"uuid": "111e20f7-815e-48f8-9dd6-e675ce75b266",
"frcYear": "2024",
"mavenUrls": [],
"jsonUrl": "",
"javaDependencies": [
{
"groupId": "edu.wpi.first.wpilibNewCommands",
"artifactId": "wpilibNewCommands-java",
"version": "wpilib"
}
],
"jniDependencies": [],
"cppDependencies": [
{
"groupId": "edu.wpi.first.wpilibNewCommands",
"artifactId": "wpilibNewCommands-cpp",
"version": "wpilib",
"libName": "wpilibNewCommands",
"headerClassifier": "headers",
"sourcesClassifier": "sources",
"sharedLibrary": true,
"skipInvalidPlatforms": true,
"binaryPlatforms": [
"linuxathena",
"linuxarm32",
"linuxarm64",
"windowsx86-64",
"windowsx86",
"linuxx86-64",
"osxuniversal"
]
}
]
}

0 comments on commit 8d8ec1e

Please sign in to comment.