Skip to content

Limit Kotlin version warning suppression scope in build#5156

Merged
schalkms merged 2 commits into
detekt:mainfrom
3flex:limit-suppression-scope
Aug 1, 2022
Merged

Limit Kotlin version warning suppression scope in build#5156
schalkms merged 2 commits into
detekt:mainfrom
3flex:limit-suppression-scope

Conversation

@3flex
Copy link
Copy Markdown
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