[JS Gradle] Pass incremental cache root dir to K2JS compiler

This commit is contained in:
Alexander Korepanov
2022-11-21 16:53:15 +01:00
committed by Space Team
parent 693258ae91
commit 9dab8637a8
4 changed files with 12 additions and 41 deletions
@@ -252,11 +252,11 @@ class K2JSCompilerArguments : CommonCompilerArguments() {
var includes: String? by NullableStringFreezableVar(null)
@Argument(
value = "-Xcache-directories",
value = "-Xcache-directory",
valueDescription = "<path>",
description = "A path to cache directories"
description = "A path to cache directory"
)
var cacheDirectories: String? by NullableStringFreezableVar(null)
var cacheDirectory: String? by NullableStringFreezableVar(null)
@Argument(value = "-Xir-build-cache", description = "Use compiler to build cache")
var irBuildCache: Boolean by FreezableVar(false)