mirror of
https://codeberg.org/gitnex/GitNex
synced 2024-12-23 00:48:57 +01:00
325560c08d
Run `gradle :app:spotlessApply` to apply formatting. # Changes from current code format This does not match with the old intellij based code format because I can't apply some rules there. - newlines after `else`, `catch` etc. (means there are `} else {` statements) - no spaces around `if` braces (there are statements like `if (true) {` instead of `if(true) {` Closes https://codeberg.org/gitnex/GitNex/issues/1187 Closes https://codeberg.org/gitnex/GitNex/issues/1202 Co-authored-by: qwerty287 <ndev@web.de> Co-authored-by: 6543 <6543@obermui.de> Reviewed-on: https://codeberg.org/gitnex/GitNex/pulls/1208 Reviewed-by: 6543 <6543@obermui.de> Reviewed-by: M M Arif <mmarif@noreply.codeberg.org> Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org> Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
20 lines
423 B
YAML
20 lines
423 B
YAML
pipeline:
|
|
author-header:
|
|
image: qwerty287/woodpecker-regex-check
|
|
group: check
|
|
settings:
|
|
pattern: "*.java"
|
|
regex: " \\\\* \\\\@author [\\\\S\\\\s]+"
|
|
must_contain: true
|
|
|
|
style:
|
|
image: alvrme/alpine-android:android-31-jdk11
|
|
group: check
|
|
commands:
|
|
- ./gradlew :app:spotlessCheck
|
|
|
|
test:
|
|
image: alvrme/alpine-android:android-31-jdk11
|
|
commands:
|
|
- ./gradlew test
|