-
Notifications
You must be signed in to change notification settings - Fork 70
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
Add a vendordep gradle task #418
Conversation
src/main/groovy/edu/wpi/first/gradlerio/wpi/dependencies/VendorDepTask.groovy
Outdated
Show resolved
Hide resolved
src/main/groovy/edu/wpi/first/gradlerio/wpi/dependencies/VendorDepTask.groovy
Outdated
Show resolved
Hide resolved
src/main/groovy/edu/wpi/first/gradlerio/wpi/dependencies/WPIDependenciesPlugin.groovy
Show resolved
Hide resolved
How do I test the "feature" I added? |
Bump the version number, run the |
Fixed. |
@Starlight220 looks good. Can you do a few things though. The first 2 before I'll merge it, the third just make a plan to do.
|
3 is already done, it's waiting for this to be merged. The frc-docs PR is linked above. |
@ThadHouse - I finished 1,2. Feel free to review/merge/whatever. 3 is wpilibsuite/frc-docs#755, feel free to check it out. |
@ThadHouse - I was thinking about special-casing two strings in the task so that teams can use this task also to get the Command-Based JSONs with the task. maybe something like Either way, I think this feature would be more appropriate as a separate PR, assuming you think it should be added at all - what are your thoughts about this. All your reviews of this PR are fixed, can you review/merge it? |
How would that help. A user could just use the git url directly and pass it it. Definitely opposed to embedding that url in gradlerio, which is what it would take. And there is a conventional way to get the command based json. VS Code, and theyre always installed with the installer. |
I was more thinking about it fetching the JSON from the local wpi maven repo (where VS Code fetches it from anyway). |
@ThadHouse should I add some docs about this to the |
Regarding the local url, if its just pointing to the local folder, I'm not opposed. Something like |
And yes, updating the readme would be helpful. |
I finally got the local fetching to work.
Local
Remote
|
I now tested, the only issue I saw was that the overwriting warning isn't printed when fetching from remote. |
Fixes #417
The original commit uses curl, the second uses the gradle-download plugin.