Skip to content

Commit

Permalink
Add instructions for publishing and using native-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
sciencewhiz committed Nov 8, 2023
1 parent 0055bc7 commit 74370ed
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,3 +206,17 @@ nativeUtils.platformConfigs {
}
}
```

# Using custom builds

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.

1. Update the version in `build.gradle` so that native-utils won't overwrite an existing version.
```
allprojects {
group = "edu.wpi.first"
version = "2024.3.1"
```
2. Execute `.\gradlew publishToMavenLocal`
3. Update native-utils version in GradleRIO ``build.gradle``: ``api 'edu.wpi.first:native-utils:2024.3.1'``
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 comments on commit 74370ed

Please sign in to comment.