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/houndutilThis will clone and add the houndutil submodule to your repository.
If cloning a project that already has houndutil, run the following command after cloning:
git submodule update --init --recursiveNow, 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;