GlowstoneMC / Glowstone

A fast, customizable and compatible open source server for Minecraft: Java Edition
https://glowstone.net
Other
1.88k stars 269 forks source link

Only run delombok in ci #1068

Closed Postremus closed 4 years ago

Postremus commented 4 years ago

The source files by delombok are only required for javadoc. We now hide delombok, javadoc jar, and source jar generation behind profile build-extras. The profile can be activated on locally as well. This should make it easier to debug ci problems.

These changes have a positiv impact on local build time. In my tests, I built the project using mvn package -DskipTests.

Before my changes, this took around 45 seconds. After my changes, this takes around 32 seconds.