A utility library for TechHOUNDS. Includes houndlog, houndauto, and houndlib.
git config --global submodules.recurse true
Open your robot project, and open a terminal in its folder. Run:
git submodule add https://github.com/frc868/houndutil
This will clone and add the houndutil submodule to your repository.
Now, edit build.gradle
and settings.gradle
.
In build.gradle
, add:
implementation project(":houndutil")
in the dependencies
block. It should look like this:
dependencies {
implementation project(":houndutil")
implementation wpi.java.deps.wpilib()
implementation wpi.java.vendor.java()
...
}
In settings.gradle
, add these lines at the end of the file:
include ':houndutil'
rootProject.children[0].buildFileName = "submodule.gradle"
Now, import houndutil
items by using:
import com.techhounds.houndutil.houndlog.LoggingManager;