[Gradle] disable toolchain auto-download in tests
Required JDKs should be already downloaded by Kotlin repo itself.
This commit is contained in:
committed by
Space Team
parent
5b1ffb417a
commit
4c95797067
+2
@@ -418,6 +418,8 @@ private fun commonBuildSetup(
|
||||
kotlinDaemonDebugPort: Int? = null,
|
||||
): List<String> {
|
||||
return buildOptions.toArguments(gradleVersion) + buildArguments + listOfNotNull(
|
||||
// Required toolchains should be pre-installed via repo. Tests should not download any JDKs
|
||||
"-Porg.gradle.java.installations.auto-download=false",
|
||||
"--full-stacktrace",
|
||||
if (enableBuildCacheDebug) "-Dorg.gradle.caching.debug=true" else null,
|
||||
if (enableBuildScan) "--scan" else null,
|
||||
|
||||
Reference in New Issue
Block a user