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 configuration cache by default #5573

Merged
merged 1 commit into from Nov 27, 2022
Merged

Conversation

3flex
Copy link
Member

@3flex 3flex commented Nov 27, 2022

Third time's the charm (previous attempts: #5095, #4576)

I've tested these commands successfully.

./gradlew build -x dokkaHtml
./gradlew build -x dokkaHtml
./gradlew clean
./gradlew clean

@cortinico
Copy link
Member

I've tested these commands successfully.

Could you try publishToMavenLocal as I recall this was one of the offending scenario?

@3flex
Copy link
Member Author

3flex commented Nov 27, 2022

No need: running that task will disable CC because it's currently tagged with notCompatibleWithConfigurationCache:

tasks.withType<PublishToMavenRepository>().configureEach {
notCompatibleWithConfigurationCache("https://github.com/gradle/gradle/issues/13468")
}

@3flex 3flex merged commit 216b44d into detekt:main Nov 27, 2022
@3flex 3flex deleted the enable-cc-again branch November 27, 2022 03:08
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

2 participants