Skip to content

Commit

Permalink
Update to WPILib 2024.1.1 (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry695 authored Jan 11, 2024
1 parent a5661a1 commit f213e8c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The table below lists the published versions of the library and the WPILib relea

| Version | Git Tag/Branch | Required WPILib Version |
|-------------------|----------------|-------------------------|
| 2024.1.1-SNAPSHOT | main | 2024.1.1 |
| 2023.4.1-SNAPSHOT | main | 2023.4.2 |
| 2023.4.0 | v2023.4.0 | 2023.4.2 |
| 2023.2.0 | v2023.2.0 | 2023.2.1 |
Expand Down Expand Up @@ -42,7 +43,7 @@ Finally, add the NRG Common Java Library as a dependency in your `build.gradle`

```gradle
dependencies {
implementation 'com.nrg948:nrgcommon:2023.4.0'
implementation 'com.nrg948:nrgcommon:2024.1.1'
}
```

Expand Down
20 changes: 10 additions & 10 deletions nrgcommon/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
MIT License
Copyright (c) 2022 Newport Robotics Group
Copyright (c) 2024 Newport Robotics Group
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -30,10 +30,10 @@ plugins {
}

group = 'com.nrg948'
version = '2023.4.0' + (Boolean.valueOf(System.getProperty("release")) ? "" : "-SNAPSHOT")
version = '2024.1.1' + (Boolean.valueOf(System.getProperty("release")) ? "" : "-SNAPSHOT")

sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17

repositories {
// Use Maven Central for resolving dependencies.
Expand All @@ -48,14 +48,14 @@ repositories {
dependencies {
testImplementation 'org.junit.jupiter:junit-jupiter:5.7.2'

api "edu.wpi.first.wpilibj:wpilibj-java:2023.4.2"
api "edu.wpi.first.wpilibj:wpilibj-java:2024.1.1"
api "org.javatuples:javatuples:1.2"

implementation "edu.wpi.first.cscore:cscore-java:2023.4.2"
implementation "edu.wpi.first.ntcore:ntcore-java:2023.4.2"
implementation "edu.wpi.first.wpiutil:wpiutil-java:2023.4.2"
implementation "edu.wpi.first.cscore:cscore-java:2024.1.1"
implementation "edu.wpi.first.ntcore:ntcore-java:2024.1.1"
implementation "edu.wpi.first.wpiutil:wpiutil-java:2024.1.1"
implementation 'org.reflections:reflections:0.10.2'
implementation 'edu.wpi.first.wpilibNewCommands:wpilibNewCommands-java:2023.4.2'
implementation 'edu.wpi.first.wpilibNewCommands:wpilibNewCommands-java:2024.1.1'
}

java {
Expand All @@ -70,7 +70,7 @@ tasks.named('test') {

javadoc {
options {
links 'https://docs.oracle.com/en/java/javase/11/docs/api/','https://github.wpilib.org/allwpilib/docs/release/java/','https://www.javatuples.org/apidocs/'
links 'https://docs.oracle.com/en/java/javase/17/docs/api/','https://github.wpilib.org/allwpilib/docs/release/java/','https://www.javatuples.org/apidocs/'
}
}

Expand Down

0 comments on commit f213e8c

Please sign in to comment.