Skip to content

Commit 843fbf3

Browse files
author
James Hagborg
committed
update things for 2021, new commands
1 parent 6db0a0d commit 843fbf3

File tree

17 files changed

+52
-1613
lines changed

17 files changed

+52
-1613
lines changed

build.gradle

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
id 'maven-publish'
77
}
88

9-
sourceCompatibility = 1.8
9+
//sourceCompatibility = 1.8
1010

1111
jgitver {
1212
mavenLike = true
@@ -16,39 +16,41 @@ allprojects {
1616
repositories {
1717
mavenCentral()
1818
maven {
19-
url 'http://first.wpi.edu/FRC/roborio/maven/release'
19+
url 'https://frcmaven.wpi.edu/artifactory/release'
2020
}
2121
}
2222
}
2323

24-
def WPILIB_VER = '2019.2.1'
24+
def WPILIB_VER = '2021.2.2'
2525
def NTCORE_VER = WPILIB_VER
26-
def OPENCV_VER = '3.4.4-4'
26+
def OPENCV_VER = '3.4.7-5'
2727
def WPIUTIL_VER = WPILIB_VER
2828
def CSCORE_VER = WPILIB_VER
2929
def CAMERASERVER_VER = WPILIB_VER
3030
def JUNIT_VER = '5.3.1'
31+
def ARCH = 'linuxx86-64'
3132

3233
dependencies {
3334
// We may or may not need to add the new HAL library which was split off
3435
// from wpilib. Ideally we don't have to touch it at all.
35-
compile "edu.wpi.first.wpilibj:wpilibj-java:$WPILIB_VER"
36-
compile "edu.wpi.first.ntcore:ntcore-java:$NTCORE_VER"
37-
compile "edu.wpi.first.wpiutil:wpiutil-java:$WPIUTIL_VER"
38-
compile "edu.wpi.first.cscore:cscore-java:$CSCORE_VER"
39-
compile "edu.wpi.first.cameraserver:cameraserver-java:$CAMERASERVER_VER"
40-
compile "edu.wpi.first.thirdparty.frc2019.opencv:opencv-java:$OPENCV_VER"
36+
implementation "edu.wpi.first.wpilibj:wpilibj-java:$WPILIB_VER"
37+
implementation "edu.wpi.first.wpilibNewCommands:wpilibNewCommands-java:$WPILIB_VER"
38+
implementation "edu.wpi.first.ntcore:ntcore-java:$NTCORE_VER"
39+
implementation "edu.wpi.first.wpiutil:wpiutil-java:$WPIUTIL_VER"
40+
implementation "edu.wpi.first.cscore:cscore-java:$CSCORE_VER"
41+
implementation "edu.wpi.first.cameraserver:cameraserver-java:$CAMERASERVER_VER"
42+
implementation "edu.wpi.first.thirdparty.frc2021.opencv:opencv-java:$OPENCV_VER"
4143

4244
// Do not require these as runtime dependencies, since WPILib doesn't.
4345
// The user can figure out what version they need (RIO vs. desktop).
44-
testRuntime "edu.wpi.first.ntcore:ntcore-jni:$NTCORE_VER:all"
45-
testRuntime "edu.wpi.first.cscore:cscore-jni:$CSCORE_VER:all"
46+
testRuntime "edu.wpi.first.ntcore:ntcore-jni:$NTCORE_VER:$ARCH"
47+
testRuntime "edu.wpi.first.cscore:cscore-jni:$CSCORE_VER:$ARCH"
4648
testRuntime "org.junit.jupiter:junit-jupiter-engine:$JUNIT_VER"
4749

48-
testCompile "org.junit.jupiter:junit-jupiter-api:$JUNIT_VER"
49-
testCompile "org.junit.jupiter:junit-jupiter-params:$JUNIT_VER"
50-
testCompile 'org.hamcrest:hamcrest-library:1.3'
51-
testCompile 'com.google.guava:guava:19.0'
50+
testImplementation "org.junit.jupiter:junit-jupiter-api:$JUNIT_VER"
51+
testImplementation "org.junit.jupiter:junit-jupiter-params:$JUNIT_VER"
52+
testImplementation 'org.hamcrest:hamcrest-library:1.3'
53+
testImplementation 'com.google.guava:guava:19.0'
5254
}
5355

5456
compileJava {
@@ -137,5 +139,5 @@ checkstyle {
137139
}
138140

139141
wrapper {
140-
gradleVersion = '4.10.2'
142+
gradleVersion = '6.8.3'
141143
}

gradle/wrapper/gradle-wrapper.jar

5 Bytes
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists

src/main/java/edu/wpi/first/wpilibj/command/GetRequirements.java

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/main/java/edu/wpi/first/wpilibj/command/WhileCommand.java

Lines changed: 0 additions & 151 deletions
This file was deleted.

0 commit comments

Comments
 (0)