@@ -6,7 +6,7 @@ plugins {
66 id ' maven-publish'
77}
88
9- sourceCompatibility = 1.8
9+ // sourceCompatibility = 1.8
1010
1111jgitver {
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 '
2525def NTCORE_VER = WPILIB_VER
26- def OPENCV_VER = ' 3.4.4-4 '
26+ def OPENCV_VER = ' 3.4.7-5 '
2727def WPIUTIL_VER = WPILIB_VER
2828def CSCORE_VER = WPILIB_VER
2929def CAMERASERVER_VER = WPILIB_VER
3030def JUNIT_VER = ' 5.3.1'
31+ def ARCH = ' linuxx86-64'
3132
3233dependencies {
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 :$A RCH "
47+ testRuntime " edu.wpi.first.cscore:cscore-jni:$CSCORE_VER :$A RCH "
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
5456compileJava {
@@ -137,5 +139,5 @@ checkstyle {
137139}
138140
139141wrapper {
140- gradleVersion = ' 4.10.2 '
142+ gradleVersion = ' 6.8.3 '
141143}
0 commit comments