GrappleRobotics / libgrapplefrc

Grapple's FRC Vendor Library
Other
3 stars 2 forks source link

Use getNativeDependencyTypeClass to grab the dependency type #1

Closed ThadHouse closed 9 months ago

ThadHouse commented 9 months ago

There are some cases (mainly subprojects) where the full classpath isn't imported, causing the current method to not work. getThingTypeClass is our trick used in multiple places to solve this issue.

Also digging through, I definitely want to see what I can do to make getting the libraries into rust easier. That is definitely not how I expected that to be done, but I realized I don't have a good method to do that anyway. https://github.com/wpilibsuite/native-utils/issues/186

JaciBrunning commented 9 months ago

Perfect, thanks for the contribution! Would be keen to see how we can make it easier to resolve the dep set for export to other tools. Thanks!