Checkstyle failed
JakobDev opened this issue ยท 1 comments
JakobDev@PC:/tmp/CC-Tweaked$ ./gradlew check
Starting a Gradle Daemon (subsequent builds will be faster)
> Configure project :
This mapping 'snapshot_20180724' was designed for MC 1.12! Use at your own peril.
#################################################
ForgeGradle 2.3-SNAPSHOT-7764e3e
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP
http://modcoderpack.com
by: Searge, ProfMobius, R4wk, ZeuX
Fesh0r, IngisKahn, bspkrs, LexManos
#################################################
Found AccessTransformer: computercraft_at.cfg
> Task :deobfMcMCP
Applying SpecialSource...
Applying Exceptor...
> Task :checkstyleMain
[ant:checkstyle] [ERROR] /tmp/CC-Tweaked/src/main/java/dan200/computercraft/shared/computer/blocks/TileComputerBase.java:50:22: Der Bezeichner 'm_label' entspricht nicht dem Muster '^[a-z][a-zA-Z0-9]*$'. [MemberName]
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':checkstyleMain'.
> Checkstyle rule violations were found. See the report at: file:///tmp/CC-Tweaked/build/reports/checkstyle/main.html
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
See https://docs.gradle.org/4.6/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 3m 13s
11 actionable tasks: 11 executed
JakobDev@PC:/tmp/CC-Tweaked$
.```
Well, that's a little surprising - we've a suppression for this error message, but I wasn't expecting it to be localised:
Changing the message
attribute to .*'m_label'.*
should fix it.