dazza5000
04/19/2022, 9:51 PMdaz@daz:/source/source/well/consumer-android-ui-2$ git status
On branch MOB-310-integrate-ktlint
Your branch is up to date with 'origin/MOB-310-integrate-ktlint'.
nothing to commit, working tree clean
daz@daz:/source/source/well/consumer-android-ui-2$ ./gradlew :app:ktlintDebugSourceSetCheck
Configuration on demand is an incubating feature.
BUILD SUCCESSFUL in 919ms
16 actionable tasks: 1 executed, 15 up-to-date
(failed reverse-i-search)`forma': git reset --hard origin/MOB-1190-calculate-height-^Cr-list-items
daz@daz:/source/source/well/consumer-android-ui-2$ ./gradlew :app:ktlintDebugSourceSetFormat
Configuration on demand is an incubating feature.
BUILD SUCCESSFUL in 1s
16 actionable tasks: 2 executed, 14 up-to-date
daz@daz:/source/source/well/consumer-android-ui-2$ git status
On branch MOB-310-integrate-ktlint
Your branch is up to date with 'origin/MOB-310-integrate-ktlint'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: app/src/debug/java/co/foo/data/session/LocalSessionDataSource.kt
modified: app/src/debug/java/co/foo/util/FlipperUtil.kt
no changes added to commit (use "git add" and/or "git commit -a")
jlleitschuh
04/19/2022, 9:52 PMjlleitschuh
04/19/2022, 9:52 PMjlleitschuh
04/19/2022, 9:53 PMdazza5000
04/19/2022, 9:56 PMdazza5000
04/19/2022, 9:57 PMktlint {
version.set("0.45.2")
android.set(true)
reporters {
reporter(ReporterType.HTML)
}
outputColorName.set("RED")
disabledRules.set(setOf("no-wildcard-imports"))
}
jlleitschuh
04/19/2022, 9:57 PMdazza5000
04/19/2022, 9:57 PMid("org.jlleitschuh.gradle.ktlint") version Versions.ktlint
dazza5000
04/19/2022, 9:57 PMconst val ktlint = "10.2.1"
jlleitschuh
04/19/2022, 9:57 PMdazza5000
04/19/2022, 9:58 PMdazza5000
04/19/2022, 9:59 PMdazza5000
04/19/2022, 9:59 PMdaz@daz:/source/source/well/consumer-android-ui-2$ ./gradlew :app:ktlintDebugSourceSetCheck
Configuration on demand is an incubating feature.
BUILD SUCCESSFUL in 919ms
dazza5000
04/19/2022, 9:59 PMdaz@daz:/source/source/well/consumer-android-ui-2$ ./gradlew :app:ktlintDebugSourceSetFormat
Configuration on demand is an incubating feature.
BUILD SUCCESSFUL in 1s
16 actionable tasks: 2 executed, 14 up-to-date
daz@daz:/source/source/well/consumer-android-ui-2$ git status
On branch MOB-310-integrate-ktlint
Your branch is up to date with 'origin/MOB-310-integrate-ktlint'.
Changes not staged for commit:
(use "git add <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
modified: app/src/debug/java/co/foo/data/session/LocalSessionDataSource.kt
modified: app/src/debug/java/co/foo/util/FlipperUtil.kt
dazza5000
04/19/2022, 9:59 PM:app:ktlintDebugSourceSetCheck
is failing in CIdazza5000
04/19/2022, 9:59 PMdazza5000
04/19/2022, 9:59 PMSha Sha Chu
04/19/2022, 10:00 PMjlleitschuh
04/19/2022, 10:00 PMjlleitschuh
04/19/2022, 10:00 PMjlleitschuh
04/19/2022, 10:01 PMdazza5000
04/19/2022, 10:03 PM> Task :app:ktlintDebugSourceSetCheck FAILED
/bitrise/src/app/src/debug/java/co/[REDACTED]/[REDACTED]app/data/session/LocalSessionDataSource.kt:1:1 File must end with a newline (\n)
/bitrise/src/app/src/debug/java/co/[REDACTED]/[REDACTED]app/util/FlipperUtil.kt:1:1 File must end with a newline (\n)
/bitrise/src/app/src/debug/java/co/[REDACTED]/[REDACTED]app/util/FlipperUtil.kt:29:19 Missing newline after ","
jlleitschuh
04/19/2022, 10:04 PMdazza5000
04/19/2022, 10:08 PMdazza5000
04/19/2022, 10:08 PMdazza5000
04/19/2022, 10:08 PMmodified: app/src/debug/java/co/foo/data/session/LocalSessionDataSource.kt
modified: app/src/debug/java/co/foo/util/FlipperUtil.kt
dazza5000
04/19/2022, 10:09 PMjlleitschuh
04/19/2022, 10:11 PMjlleitschuh
04/19/2022, 10:12 PMdazza5000
04/19/2022, 10:13 PMjlleitschuh
04/19/2022, 10:13 PMdazza5000
04/19/2022, 10:13 PMjlleitschuh
04/19/2022, 10:14 PMdazza5000
04/19/2022, 10:14 PMdazza5000
04/19/2022, 10:14 PMjlleitschuh
04/19/2022, 10:23 PMdazza5000
04/19/2022, 10:26 PMjlleitschuh
04/19/2022, 10:26 PMdazza5000
04/19/2022, 10:34 PMdazza5000
04/19/2022, 10:35 PMdazza5000
04/19/2022, 10:35 PMjlleitschuh
04/19/2022, 10:35 PMdazza5000
04/19/2022, 10:35 PMdazza5000
04/19/2022, 10:35 PM