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

Enable strict Kotlin DSL precompiled script plugins accessors generation #5048

Merged
merged 1 commit into from Jul 8, 2022

Conversation

3flex
Copy link
Collaborator

@3flex 3flex commented Jul 8, 2022

This opts-in to a stricter mode of operation that fails the build when a plugin application fails, and enables the build cache for the :generatePrecompiledScriptPluginAccessors task.

This will be the default in Gradle 8.0, but there's no reason not to enable this in advance of that release given our build is stable with it enabled.

Information sourced from https://docs.gradle.org/nightly/userguide/upgrading_version_7.html#strict-kotlin-dsl-precompiled-scripts-accessors

This opts-in to a stricter mode of operation that fails the build when a
plugin application fails, and enables the build cache for the
:generatePrecompiledScriptPluginAccessors task.

This will be the default in Gradle 8.0, but there's no reason not to enable
this in advance of that release given our build is stable with it enabled.
@3flex 3flex merged commit 8940fb6 into detekt:main Jul 8, 2022
19 checks passed
@3flex 3flex deleted the strict-accessors branch Jul 8, 2022
@cortinico cortinico added this to the 1.21.0 milestone Jul 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants