Skip to content

Latest commit

 

History

History
69 lines (50 loc) · 959 Bytes

README.md

File metadata and controls

69 lines (50 loc) · 959 Bytes

CodeOdyssey API

API for the CodeOdyssey project. A platform to make and correct coding-related exercises.


Code quality plugins

Spotless

How to run:

Check

./gradlew spotlessCheck

Apply format

./gradlew spotlessApply

Spotbugs

How to run:

Checks files in the main folder

./gradlew spotbugsMain

Checks files in the test folder

./gradlew spotbugsTest

Checkstyle

Rules for checkstyle: config/checkstyle/checkstyle.xml

Rules for suppressions: config/checkstyle/checkstyle-suppressions.xml

Reports: build/reports/checkstyle

 ./gradlew checkstyleMain
 ./gradlew checkstyleTest

PMD

Run it with any of the commands below. Do note that PMD also runs the other code quality plugins.

./gradlew check

or

./gradlew ch

Security plugins

OWASP Dependency Check

How to run:

./gradlew dependencyCheckAnalyze