-
Notifications
You must be signed in to change notification settings - Fork 509
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Report an error when custom ruleset providers are still registered un…
…der the old package (#485) * Also added explicit note into 0.32.0 CHANGELOG * Fixed template service registration Fixes #481
- Loading branch information
Showing
4 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
ktlint-core/src/main/kotlin/com/github/shyiko/ktlint/core/RuleSetProvider.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.github.shyiko.ktlint.core | ||
|
||
/** | ||
* https://github.com/pinterest/ktlint/issues/481 | ||
* | ||
* Keep the RuleSetProvider in the old package so that we can detect it and throw an error. | ||
*/ | ||
@Deprecated("RuleSetProvider has moved to com.pinterest.ktlint.core") | ||
interface RuleSetProvider |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters