Modulation module of the game against the subproject

I could not understand the difference between modular and subprojects. What is the difference and which one should be used to use the modulator.

+4
source share
1 answer

With both approaches, you can compile, run, and test the code separately. In subprojects, you can exchange settings and connect to a project that depends on it with the source code:

When you launch the Play application in dev mode, dependent projects are automatically recompiled, and if something fails to compile, you will see the result in your browser. (Http://www.playframework.org/documentation/2.0.4/SBTSubProjects)

The playback module is only a JAR dependency that can be structured as a gaming application. This way you are dependent on the binary.

Both methods are designed to create modular applications, perhaps the subproject is easier to use, but the module makes more sense if you want to use common code between several game applications.

+3
source

Source: https://habr.com/ru/post/1438076/


All Articles