Skip to content

Commit

Permalink
Add additional instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
superpenguin612 authored Sep 4, 2023
1 parent 2c0a5d4 commit 04cef6c
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,17 @@ A utility library for TechHOUNDS. Includes houndlog, houndauto, and houndlib.

## How to add this to other projects

Open your robot project, and edit `build.gradle` and `settings.gradle`.
Open your robot project, and open a terminal in its folder. Run:

In `build.gradle`, add this line:
```sh
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:

```gradle
implementation project(":houndutil")
Expand All @@ -34,7 +42,7 @@ include ':houndutil'
rootProject.children[0].buildFileName = "submodule.gradle"
```

Now, import `houndutil` items by doing:
Now, import `houndutil` items by using:

```java
import com.techhounds.houndutil.houndlog.LoggingManager;
Expand Down

0 comments on commit 04cef6c

Please sign in to comment.