Revision control

Copy as Markdown

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
---
task-defaults:
description: 'Run ktlint over all modules'
run:
using: gradlew
gradlew: ['ktlint']
ktlint-android-components:
optimization:
skip-unless-changed:
- "android-components/**"
run:
pre-gradlew:
- ["cd", "android-components"]
treeherder:
symbol: ktlint(AC)
ktlint-focus:
optimization:
skip-unless-changed:
- "focus-android/**"
run:
pre-gradlew:
- ["cd", "focus-android"]
treeherder:
symbol: ktlint(focus)
ktlint-fenix:
dependencies:
external-gradle-dependencies: external-gradle-dependencies-lint-fenix
optimization:
skip-unless-changed:
- "fenix/**"
run:
pre-gradlew:
- ["cd", "fenix"]
treeherder:
symbol: ktlint(fenix)