Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit Kotlin version warning suppression scope in build #5156

Merged
merged 2 commits into from
Aug 1, 2022

Conversation

3flex
Copy link
Member

@3flex 3flex commented Jul 31, 2022

The Gradle plugin requires a lower API version to maintain compatibility with older Gradle versions.

detekt itself doesn't need to limit itself to older API versions as it uses its own Kotlin dependency to execute, which is different from the version Gradle embeds. This PR updates the build configuration to align - now other modules can use the current Kotlin API and don't need to suppress version warnings. This is now applied only to the Gradle plugin.

@schalkms schalkms merged commit 736524f into detekt:main Aug 1, 2022
@3flex 3flex deleted the limit-suppression-scope branch August 1, 2022 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants