Hello i have been having trouble while trying to build networktables here is a link to a github with my code
when i try to build it this is the error that i get
C:\Users\Desktop\GradleTest>gradlew build
:compileJava
C:\Users\Desktop\GradleTest\src\main\com\djsprinkles\gradle\Main.java:3: error: package edu.wpi.first.wpilibj.networktables does not exist
import edu.wpi.first.wpilibj.networktables.NetworkTable;
^
C:\Users\Desktop\GradleTest\src\main\com\djsprinkles\gradle\Main.java:8: error: cannot find symbol
NetworkTable.setClientMode();
^
symbol: variable NetworkTable
location: class Main
C:\Users\Desktop\GradleTest\src\main\com\djsprinkles\gradle\Main.java:9: error: cannot find symbol
NetworkTable.setTeam(TEAM);
^
symbol: variable NetworkTable
location: class Main
C:\Users\Desktop\GradleTest\src\main\com\djsprinkles\gradle\Main.java:10: error: cannot find symbol
NetworkTable.initialize();
^
symbol: variable NetworkTable
location: class Main
C:\Users\Desktop\GradleTest\src\main\com\djsprinkles\gradle\Main.java:11: error: cannot find symbol
NetworkTable table = NetworkTable.getTable("Test");
^
symbol: class NetworkTable
location: class Main
C:\Users\Desktop\GradleTest\src\main\com\djsprinkles\gradle\Main.java:11: error: cannot find symbol
NetworkTable table = NetworkTable.getTable("Test");
^
symbol: variable NetworkTable
location: class Main
6 errors
:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 2.491 secs
I am very new to gradle so i may be doing something very obvious wrong.