Skip to content

Enable strict Kotlin DSL precompiled script plugins accessors generation#5048

Merged
3flex merged 1 commit intodetekt:mainfrom
3flex:strict-accessors
Jul 8, 2022
Merged

Enable strict Kotlin DSL precompiled script plugins accessors generation#5048
3flex merged 1 commit intodetekt:mainfrom
3flex:strict-accessors

Conversation

@3flex
Copy link
Member

@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
@3flex 3flex deleted the strict-accessors branch July 8, 2022 09:14
@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.

3 participants