Import dependencies in Java - Jama

Hi all,

I was implementing a feedforward characterization From Mechanical Advantage and to use it I needed some kind of a Polynomial Regression class. In that class math library JAMA is used and therefore I am supposed to add it to dependencies. Yet, “The import Jama cannot be resolvedJava(268435846)” says Java.

build.gradle

//     implementation 'gov.nist.math:jama:1.0.3' , None of them works

    implementation group: 'gov.nist.math', name: 'jama', version: '1.0.3'

And then “./gradlew build” in terminal.

It definitely exists, so I presume you’re running a build while connected to the robot. That’s not a library that ships with java or wpilib, so If this is the first time you’ve compiled, you need internet access so gradle can pull it down. From that point forward, it will be cached on your computer, so subsequent builds can be run without internet access.