neoforged / GradleUtils

Gradle buildscript utility library for NeoForged projects
GNU Lesser General Public License v2.1
1 stars 5 forks source link

Add a Spotless plugin #18

Closed Matyrobbrt closed 6 months ago

Matyrobbrt commented 6 months ago

Adds a net.neoforged.gradleutils.spotless plugin that will configure spotless to use a shared formatter config.

See https://github.com/neoforged/NeoForge/blob/932773f5194811609b03edeaa9b0c0f6a7d3a516/codeformat/formatter-config.xml

marchermans commented 6 months ago

Also we should probably make a note here: spotless for Gradle requires the Gradle runtime to be running in java 17