Portable Offline Development Environment
Karaclysm119 opened this issue ยท 7 comments
So I'm sort of trying to develop fabric mods in my freetime at school, and the web filter blocks minecraft.net, and whenever i go to build and test, it tries to download a ton of libraries from libraries.minecraft.net, I was wondering 3 things.
- Does it download these libraries on every build regardless of whether it has them or not?
- If it doesn't where do they go when they are downloaded?
and - Would it be possible to change the location it points to when searching for these libraries?
This should work just fine, as there were some semi-recent changes to loom to allow this.
-
No it should only download the files when they are not found.
-
The files are all downloaded in
.gradle
in your user directory. -
Possibly I would look into moving the gradle user dir.
Once you have your IDE setup, it will work just fine without internet. If you want to build a mod or use any of the gradle tasks I would run with --offline
okay thank you, I've built once at home so I should be able to move the files from there, although I'm using eclipse and sort of last as to where I'm gonna be inputting the --offline flag
If you using the eclipse you can use the run configurations provided and that will build the mod using eclipse without requiring the internet. You might be able to get away without using gradle or the offline flag, as for using it eclipse im not sure.