Important changes to Pathfinder hosting

Hi all,

I’m just announcing some quick changes to how Pathfinder is hosted. In the next week or so, I’ll be removing the Pathfinder artifact from my server in an effort to reduce server traffic costs (Pathfinder and other FRC artifacts attribute to about 20-50GB of cross-continental data egress each month, as my servers are hosted in Australia). I’ve made this decision now since Pathfinder is nearing its obselescence. This may cause some builds to fail, but fear not, read on.

I’ve made an archive of all the maven files hosted on dev.imjac.in in a zip file you can download below. To use it, extract the contents of the mvn folder to your local maven repository (~/wpilib/maven on Linux/Mac, C:\Users\Public\wpilib\maven on Windows).

This post is going to be linked on the Pathfinder repository.

Jaci

7 Likes

Quick necromancing in case you want to use these dependencies, but don’t want to have to manually install on every computer, but do have your code in a git repo, and don’t care about stuffing lots of binaries into your robot’s code repo:

  1. create a new folder in the same directory that has your build.gradle named localMaven.
  2. As above, copy the contents of the mvn folder above into that new localMaven folder.
  3. Add the following lines to your build.gradle near the top, after plugins. This is to tell gradle to use your new local repository:
repositories {
    mavenCentral()
    maven {
        url "./localMaven"
    }
}

Seems to make my build go through.

EDIT 2: Yes it did, I just can’t .gitignore.

Caveat: I have no idea what I’m actually doing when it comes to anything with gradle. I just googled till it built.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.