【JitPack】キャッシュ関係の問題でビルドが落ちる問題への対処【JitCI】

# 現象
現在`JitCI`はビルドが通ったり通らなかったりする状態となっており、これによって`JitPack`への公開にも影響が出ています。
以下は実際に自分が踏んだエラーの例です。

<details><summary>Initステージでこけた例</summary><div>

```
58.	FAILURE: Build failed with an exception.
59.	
60.	* What went wrong:
61.	A problem occurred configuring root project 'Shared'.
62.	> Could not resolve all artifacts for configuration ':classpath'.
63.	   > Could not find org.jetbrains.kotlin:kotlin-gradle-plugin:.
64.	     Required by:
65.	         project :
66.	   > Could not resolve org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.3.72.
67.	     Required by:
68.	         project :
69.	      > Could not resolve org.jetbrains.kotlin.jvm:org.jetbrains.kotlin.jvm.gradle.plugin:1.3.72.
70.	         > Could not get resource 'http://cache/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.3.72/org.jetbrains.kotlin.jvm.gradle.plugin-1.3.72.pom'.
71.	            > Could not HEAD 'http://cache/org/jetbrains/kotlin/jvm/org.jetbrains.kotlin.jvm.gradle.plugin/1.3.72/org.jetbrains.kotlin.jvm.gradle.plugin-1.3.72.pom'.
72.	               > Read timed out
73.	   > Could not resolve org.jlleitschuh.gradle.ktlint:org.jlleitschuh.gradle.ktlint.gradle.plugin:9.2.1.
74.	     Required by:
75.	         project :
76.	      > Could not resolve org.jlleitschuh.gradle.ktlint:org.jlleitschuh.gradle.ktlint.gradle.plugin:9.2.1.
77.	         > Could not get resource 'http://cache/org/jlleitschuh/gradle/ktlint/org.jlleitschuh.gradle.ktlint.gradle.plugin/9.2.1/org.jlleitschuh.gradle.ktlint.gradle.plugin-9.2.1.pom'.
78.	            > Could not HEAD 'http://cache/org/jlleitschuh/gradle/ktlint/org.jlleitschuh.gradle.ktlint.gradle.plugin/9.2.1/org.jlleitschuh.gradle.ktlint.gradle.plugin-9.2.1.pom'.
79.	               > Read timed out
```
</div></details>

<details><summary>Buildステージでこけた例</summary><div>

```
112.	FAILURE: Build failed with an exception.
113.	
114.	* What went wrong:
115.	Could not determine the dependencies of task ':compileKotlin'.
116.	> Could not resolve all files for configuration ':kotlinCompilerClasspath'.
117.	   > Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.3.72.
118.	     Required by:
119.	         project : > org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.72
120.	      > Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.3.72.
121.	         > Could not get resource 'http://cache/org/jetbrains/kotlin/kotlin-stdlib/1.3.72/kotlin-stdlib-1.3.72.pom'.
122.	            > Could not HEAD 'http://cache/org/jetbrains/kotlin/kotlin-stdlib/1.3.72/kotlin-stdlib-1.3.72.pom'.
123.	               > Read timed out
124.	   > Could not resolve org.jetbrains.kotlin:kotlin-reflect:1.3.72.
125.	     Required by:
126.	         project : > org.jetbrains.kotlin:kotlin-compiler-embeddable:1.3.72
127.	      > Could not resolve org.jetbrains.kotlin:kotlin-reflect:1.3.72.
128.	         > Could not get resource 'http://cache/org/jetbrains/kotlin/kotlin-reflect/1.3.72/kotlin-reflect-1.3.72.pom'.
129.	            > Could not HEAD 'http://cache/org/jetbrains/kotlin/kotlin-reflect/1.3.72/kotlin-reflect-1.3.72.pom'.
130.	               > Read timed out
```
</div></details>


原因は恐らくMaven Centralとgradle.orgのHTTP接続が無効化された影響だろうと考えています。

# 対処法
`JitCI`の`Settings`から、`Commands`項の`Cache dependencies`を無効にすることでこの問題は回避できました。

![image.png](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/280230/3355dedf-c42a-ff58-9469-b65b1496fed1.png)