EssentialGG / Vigilance

Configuration Utility using Elementa
GNU Lesser General Public License v3.0
56 stars 13 forks source link

Build: Split off version-independent code into separate sub-project #48

Closed Johni0702 closed 2 years ago

Johni0702 commented 2 years ago

The vast majority of code doesn't depend on MC directly, so we don't need to compile it again and again for every MC version.

This PR moves the version-specific projects into a nested :platforms project tree (e.g. :platforms:1.12.2-forge), leaving the root project (:) for common code. The base version of version-specific code is now in versions/src/main/ and presently contains only two files which need to be compiled, vastly reducing overall build time.