0.7.0
- Lower lint API back to
31.3.0-alpha05
as newer versions targeted kotlin 1.9.20 betas without us realizing it. - Improve explanation for sealed class mock detector to mention that Mockito can't mock them at all in Java 17+.
- Promote
PlatformTypeMockDetector
to error severity. - Make
DenyListedApi
entries more configurable. Initial change is that blocking APIs are now reported with the IDDenyListedBlockingApi
. - Support multiple mock report modes for the
mock-report
option. Modes areNONE
,ERRORS
, andALL
. Default isNONE
. Now the report file isbuild/reports/mockdetector/mock-report.csv
and the second column is the severity. This allows reporting all mocks for extra analysis.
What's Changed
- Bump org.jetbrains.dokka from 1.9.0 to 1.9.10 by @dependabot in #153
- Update lint to v31.3.0-alpha09 by @slack-oss-bot in #154
- Add support for mock report modes + CSV format by @ZacSweers in #152
- Add an extra annotation-based check for value classes by @ZacSweers in #151
- Update lint to v31.3.0-alpha11 by @slack-oss-bot in #155
- Make denylisted API entry issues configurable by @ZacSweers in #156
- Promote PlatformTypeMockDetector to error by @ZacSweers in #157
- Improve the sealed class mock detector by @ZacSweers in #159
- Switch to lists everywhere for issues rather than arrays by @ZacSweers in #158
Full Changelog: 0.6.1...0.7.0