Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Easier way to resolve an entire native dependency set #186

Open
ThadHouse opened this issue Dec 17, 2023 · 2 comments
Open

Easier way to resolve an entire native dependency set #186

ThadHouse opened this issue Dec 17, 2023 · 2 comments

Comments

@ThadHouse
Copy link
Member

https://github.com/GrappleRobotics/libgrapplefrc/blob/master/build.gradle#L112

The way these are being grabbed here is kind of hacky, we should have a better way to support this.

@JaciBrunning
Copy link
Member

+1, it's a bit hacky but it's the best we have right now. Prior, I was just iterating off the dependencies of each binary of a stub native library, but I took that out since it seemed messier to me. Keen to see what happens

@ThadHouse
Copy link
Member Author

We actually do a variant of that stub native library thing in allwpilib for wpilibj. Except we use an executable, and just run the install task for that executable. That dumps all shared deps into the install folder, and then we just point JNI to load from that directory.

But for just grabbing remote dependencies, I can definitely make an easier way. I'll add you to any PR's that I do that get closer to that goal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants