Skip to content

Commit

Permalink
Disable configuration cache for spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
illarionov committed Jan 5, 2023
1 parent 71ebd85 commit 2d3ad78
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gradle/plugins/lint/convention/ru.pixnews.spotless.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* limitations under the License.
*/

import com.diffplug.gradle.spotless.SpotlessTask
import com.diffplug.spotless.FormatterStep
import com.diffplug.spotless.generic.LicenseHeaderStep
import ru.pixnews.configRootDir
Expand Down Expand Up @@ -118,3 +119,7 @@ spotless {
endWithNewline()
}
}

tasks.withType<SpotlessTask>().configureEach {
notCompatibleWithConfigurationCache("https://github.com/diffplug/spotless/issues/987")
}

0 comments on commit 2d3ad78

Please sign in to comment.