Skip to content

Commit

Permalink
Mark VerifyPublicationTask as notCompatibleWithConfigurationCache
Browse files Browse the repository at this point in the history
  • Loading branch information
rpalcolea committed Mar 21, 2023
1 parent 84770ff commit 4e84395
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ abstract class VerifyPublicationTask extends DefaultTask {
@Internal
abstract Property<PublishVerificationPlugin.VerificationViolationsCollectorHolderExtension> getVerificationViolationsCollectorHolderExtension()

VerifyPublicationTask() {
this.notCompatibleWithConfigurationCache("VerifyPublicationTask uses disallowed types")
}

@TaskAction
void verifyDependencies() {
Set<ResolvedDependencyResult> firstLevel = getNonProjectDependencies(runtimeClasspath.get())
Expand Down

0 comments on commit 4e84395

Please sign in to comment.