EnderIO icon indicating copy to clipboard operation
EnderIO copied to clipboard

Improve GRADLE build Performance

Open shisheng-1 opened this issue 3 years ago • 1 comments

Compiler daemon. The Gradle Java plugin allows you to run the compiler as a separate process by setting options.fork = true. This feature can lead to much less garbage collection and make Gradle’s infrastructure faster. This project has more than 1000 source files. We can consider enabling this feature.

Incremental compilation. Gradle recompile only the classes that were affected by a change. This feature is the default since Gradle 4.10. For an older versions, we can activate it by setting options.incremental = true.

===================== If there are any inappropriate modifications in this PR, please give me a reply and I will change them.

shisheng-1 avatar Nov 11 '21 22:11 shisheng-1

See also https://github.com/MinecraftForge/MinecraftForge/pull/8187 and sciwhiz12's reply. Clearly automated. To what end? No idea.

Ommina avatar Nov 12 '21 00:11 Ommina