Gradle build script for mods

Place to post guides, observations, things related to modding that are not mods themselves.
Post Reply
xinael
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sun May 21, 2017 7:26 pm
Contact:

Gradle build script for mods

Post by xinael »

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 :)

Post Reply

Return to “Modding discussion”