File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 39
39
run : ./gradlew assembleDebug compileDebugUnitTestKotlin
40
40
41
41
- name : Spotless
42
+ # Spotless is not gradle configuration cache compliant. To allow the rest of the build
43
+ # comply, run spotless with a gradle init script and disable the cache.
42
44
run : ./gradlew spotlessCheck --init-script gradle/init.gradle.kts --no-configuration-cache
43
45
44
46
- name : Robolectric
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
+ // The init script is used to run Spotless in a gradle configuration cache compliant manner as
18
+ // Spotless itself is not gradle configuration cache compliant.
19
+ // Note that the init script needs to be run with the configuration cache turned off.
20
+
17
21
val ktlintVersion = " 0.44.0"
18
22
19
23
initscript {
You can’t perform that action at this time.
0 commit comments