Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Code style with Checkstyle

Paulius Šukys edited this page Mar 2, 2018 · 1 revision

TUM Campus App employs Checkstyle in its Gradle build as an additional task.

Normally, under Gradle documentation, checkstyle plugin should autogenerate tasks, but apparently that's not the case because of Gradle Android plugin.

Task description in Gradle build file can be found here. It is important for Continuous Integration workers that an XML report is generated in specified location.

The checkstyle configuration itself can be found here. It is a copy of Android okhttp checkstyle.xml with some alterations.

For more options on how-to enhance/modify configuration check Checkstyle website