SpecialEffect / EyeMineMods

A collection of small minecraft modifications to support the use of an eye-gaze controlled keyboard as input. Designed to accompany EyeMine
https://www.specialeffect.org.uk/eyemine
GNU General Public License v3.0
11 stars 8 forks source link

Gradle missing in the repo #16

Open Vectrobe opened 6 years ago

Vectrobe commented 6 years ago

This is actually rather important to have, as it keeps building between clones consistent, as well as being a one-touch setup, the files and folders to push are as follows;

With these files included in the repo correctly, all a contributor needs to do is clone > run 'gradlew setupDecompWorkspace idea' and everything will be automatically downloaded, including forge itself.

kmcnaught commented 6 years ago

Thanks for spotting this, I'll try to fix it today

kmcnaught commented 6 years ago

Hi Paul,

With the current setup, you just need to download the forge source which already has the standard gradle files, and point the src/main directory to the cloned repo, as described in the top level readme (I just now updated a couple of references to an older forge version, but it should work). I haven't customised the forge gradle scripts/setup at all. I agree it would be nicer if forge was downloaded automatically for a one-touch build, but I guess this makes it harder to switch between forge versions during development, and generally requires a different structure to how the repo is currently set up, so I'll leave this issue open to think about :)

Vectrobe commented 6 years ago

if you need to use different forge versions, you need to make different github branches, or just update the version in the build file.

build.gradle contains the forge version to download and use, change the value and it should automatically update on the next build.

Vectrobe commented 6 years ago

by the way; everything in the python scripts already exists in gradle, everything is scriptable via gradle's own build script system.