Unverified Commit 1612d73e authored by Denys M's avatar Denys M
Browse files

Closes #4618. Publish `tooling-detekt` package into maven repository.

parent 5f9e6da1
......@@ -330,8 +330,8 @@ projects:
publish: true
tooling-detekt:
path: components/tooling/detekt
description: 'Custom Detekt rules.'
publish: false
description: 'Custom Detekt rules for internal use.'
publish: true
tooling-lint:
path: components/tooling/lint
description: 'Custom Lint checks for using and writing components.'
......
......@@ -2,7 +2,25 @@
Custom Detekt rules for the components repository.
These additional detekt rules are run as part of the _Android Components_ build pipeline. Currently we do not publish packaged versions of these detekt rules for consumption outside of the _Android Components_ repository.
These additional detekt rules are run as part of the _Android Components_ build pipeline.
Published for internal usage only.
## Usage
Add into `build.gradle`:
```
dependencies {
// ...
detektPlugins "org.mozilla.components:tooling-detekt:$android_components_version"
}
```
## Rules
Section `mozilla-rules`:
- `AbsentOrWrongFileLicense` - check for correct license header in Kotlin files.
## License
......
......@@ -18,6 +18,9 @@ permalink: /changelog/
* **browser-session**, **browser-state**, **feature-prompts**
* ⚠️ **This is a breaking change**: The `feature-prompts` component has been migrated to `browser-state` from `browser-session`. Therefore creating a `PromptFeature` requires a `BrowserStore` instance (instead of a `SessionManager` instance). The `promptRequest` property has been removed `Session`. Prompt requests can now only be observed on a `BrowserStore` from the `browser-state` component.
* **tooling-detekt**
* Published detekt rules for internal use. Check module documentation for detailed ruleset description.
# 15.0.0
* [Commits](https://github.com/mozilla-mobile/android-components/compare/v14.0.0...v15.0.0)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment