Skip to content

Commit c779be8

Browse files
authored
Add instructions for publishing and using native-utils (#176)
1 parent 12864c1 commit c779be8

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,3 +206,17 @@ nativeUtils.platformConfigs {
206206
}
207207
}
208208
```
209+
210+
# Using custom builds
211+
212+
To use a custom build of native-utils in a robot project, the build must be published, and a GradleRIO build that uses the new version must be pulished.
213+
214+
1. Update the version in `build.gradle` so that native-utils won't overwrite an existing version.
215+
```
216+
allprojects {
217+
group = "edu.wpi.first"
218+
version = "2024.3.1"
219+
```
220+
2. Execute `.\gradlew publishToMavenLocal`
221+
3. Update native-utils version in GradleRIO ``build.gradle``: ``api 'edu.wpi.first:native-utils:2024.3.1'``
222+
4. Follow the directions in the ![GradleRIO readme](https://github.com/wpilibsuite/GradleRIO/#using-gradlerio-custom-builds) for publishing a local build and using in a robot program

0 commit comments

Comments
 (0)