Gradle build script for mods
Posted: Thu Aug 20, 2020 9:02 am
I've been playing with modding Factorio a little bit recently and wrote a Gradle build script to automate creating a .zip file that can be used with Factorio, and copying that file over into the Factorio mods directory to facilitate testing.
You can see the script in this published mod here: https://github.com/fangxianfu/factorio-quick-start
Please feel free to use it for your mods if you find it useful
Just copy it, change the contents of src/ and assets/, and update gradle.properties with the name of your mod, and you should be good to go
If you have any suggestions or want to make changes, please submit them as PRs or issues on that repo - if there is a lot of demand I will fork it off to another repo later
You can see the script in this published mod here: https://github.com/fangxianfu/factorio-quick-start
Please feel free to use it for your mods if you find it useful
Just copy it, change the contents of src/ and assets/, and update gradle.properties with the name of your mod, and you should be good to go
If you have any suggestions or want to make changes, please submit them as PRs or issues on that repo - if there is a lot of demand I will fork it off to another repo later