File tree Expand file tree Collapse file tree
src/main/java/com/diffplug/gradle/spotless Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33We adhere to the [ keepachangelog] ( https://keepachangelog.com/en/1.0.0/ ) format (starting after version ` 3.27.0 ` ).
44
55## [ Unreleased]
6+ ### Fixed
7+ * Added ` @DisableCachingByDefault ` to ` RegisterDependenciesTask ` .
68
79## [ 6.18.0] - 2023-04-06
810### Added
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2016-2022 DiffPlug
2+ * Copyright 2016-2023 DiffPlug
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
3131import org .gradle .api .tasks .OutputFile ;
3232import org .gradle .api .tasks .TaskAction ;
3333import org .gradle .build .event .BuildEventsListenerRegistry ;
34+ import org .gradle .work .DisableCachingByDefault ;
3435
3536import com .diffplug .common .base .Preconditions ;
3637import com .diffplug .common .io .Files ;
4647 * - When this "registerDependencies" task does its up-to-date check, it queries the task execution graph to see which
4748 * SpotlessTasks are at risk of being executed, and causes them all to be evaluated safely in the root buildscript.
4849 */
50+ @ DisableCachingByDefault (because = "This task coordinates the setup and execution of other tasks, and should not be cached" )
4951public abstract class RegisterDependenciesTask extends DefaultTask {
5052 static final String TASK_NAME = "spotlessInternalRegisterDependencies" ;
5153
You can’t perform that action at this time.
0 commit comments