You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-1Lines changed: 16 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -489,14 +489,29 @@ The Android-specific library AAR is built with:
489
489
490
490
## Code Standard
491
491
492
-
We are introducing [Checkstyle](https://checkstyle.org/) to enforce code style and spot for transgressions and illogical constructs.
492
+
### Checkstyle
493
+
494
+
We use [Checkstyle](https://checkstyle.org/) to enforce code style and spot for transgressions and illogical constructs
495
+
in our Java source files.
493
496
The Gradle build has been configured to run these on `java:assembleRelease`.
494
497
It does not run for the Android build yet.
495
498
496
499
You can run just the Checkstyle rules on their own using:
497
500
498
501
./gradlew checkstyleMain
499
502
503
+
### CodeNarc
504
+
505
+
We use [CodeNarc](https://codenarc.org/) to enforce code style in our Gradle build scripts, which are all written in Groovy.
506
+
507
+
You can run CodeNarc over all build scripts in this repository using:
508
+
509
+
./gradlew checkWithCodenarc
510
+
511
+
For more details see the [`gradle-lint`](gradle-lint) project.
512
+
513
+
### IDE Support
514
+
500
515
We have a root [`.editorconfig`](.editorconfig) file, supporting [EditorConfig](https://editorconfig.org/), which should be of assistance within most IDEs. e.g.:
501
516
502
517
-[VS Code](https://code.visualstudio.com/) using the [EditorConfig plugin](https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig)
0 commit comments