modRuntime doesn't work with local files
See original GitHub issueClone of #101, title and description copied from there.
Not much else to say. No errors or warnings logged, any lines like the following are seemingly just ignored:
modRuntime files("file/path/here.jar")
modRuntime fileTree(dir: "dir/path/here", include: "*.jar")
With a bit of finegling, CurseForge’s automatic Maven repo is a decent substitute when trying to add local dev mods (and probably better in the long run anyways), but this is definitely a slight annoyance and may not be avoidable for other applications. modCompile
does work with files
, but not with fileTree
, and obviously doesn’t have the benefit of modRuntime
’s runtime-only properties.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
cannot resolve directory of all the import
So the 「Cannot resolve directory」error just pop up today (used to work normally before..) not sure how to fix it, I've tried "go......
Read more >Go Modules Reference - The Go Programming Language
The go command provides several subcommands that change go.mod files. ... MVS is deterministic, and the build list doesn't change when new versions...
Read more >My Mods or Playsets are not showing up in the Launcher.
If this doesn't work please give the following a go: - unsubscribe from all mods - delete the folder Documents/paradox/GAME/mod/
Read more >SyntaxError: Cannot use import statement outside a module
But that gets me another error: "Error: Plugin/Preset files are not allowed to export objects, only functions." Here are the dependencies I ...
Read more >Common start up Problems and Solutions – Facepunch Studios
If that doesn't work for some reason, you can do it manually: ... Open the "Local Files" tab; Press "Verify Integrity Of Game...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In 0.7 loom I have expanded this to allow passing in any paths. You are supposed to be able to pass in a custom configuration as well but I broke this and do plan on fixing it.
The workaround for JIJ’ing jars built from other source sets (e.g. an API jar) turned out to be quite simple:
Thanks to mbfrog for his workaround, didn’t know flatDir repos existed until now.