Skip to content
This repository was archived by the owner on Aug 2, 2024. It is now read-only.

Commit a59735b

Browse files
RichardSchmitztiembo
authored andcommitted
Upgraded com.diffplug.gradle.spotless to version 4.3.0 to declare outputs to incremental task"
Previous version was 3.24.0. When building, it produced the following exception: ```bash $ ./gradlew build > Configure project :app > Task :spotlessKotlin FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':spotlessKotlin'. > You must declare outputs or use `TaskOutputs.upToDateWhen()` when using the incremental task API ``` This issue was fixed in Spotless 3.24.2 as per [Issue #427](diffplug/spotless#427). I optimistically upgraded to the latest release (4.3.0, June 2020). There are also higher minor releases (3.30.0, May 2020) and patch releases (3.24.3, Sep 2019) available in [mvnrepository](https://mvnrepository.com/artifact/com.diffplug.spotless/spotless-plugin-gradle) as alternatives. The build passes on all three.
1 parent 21e3083 commit a59735b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ buildscript {
6262
}
6363

6464
plugins {
65-
id "com.diffplug.gradle.spotless" version "3.24.0"
65+
id "com.diffplug.gradle.spotless" version "4.3.0"
6666
}
6767

6868
allprojects {

0 commit comments

Comments
 (0)