[Gradle, JS] Remove redundant argument
This commit is contained in:
-4
@@ -137,7 +137,6 @@ abstract class KotlinJsIrLink @Inject constructor(
|
|||||||
}
|
}
|
||||||
if (incrementalJsIr && mode == DEVELOPMENT) {
|
if (incrementalJsIr && mode == DEVELOPMENT) {
|
||||||
val visitedCompilations = mutableSetOf<KotlinCompilation<*>>()
|
val visitedCompilations = mutableSetOf<KotlinCompilation<*>>()
|
||||||
val allCacheDirectories = mutableSetOf<File>()
|
|
||||||
|
|
||||||
val cacheBuilder = CacheBuilder(
|
val cacheBuilder = CacheBuilder(
|
||||||
buildDir,
|
buildDir,
|
||||||
@@ -154,7 +153,6 @@ abstract class KotlinJsIrLink @Inject constructor(
|
|||||||
compilation as KotlinCompilation<*>,
|
compilation as KotlinCompilation<*>,
|
||||||
cacheBuilder,
|
cacheBuilder,
|
||||||
visitedCompilations,
|
visitedCompilations,
|
||||||
allCacheDirectories
|
|
||||||
)
|
)
|
||||||
|
|
||||||
args.cacheDirectories = cacheArgs.joinToString(File.pathSeparator) {
|
args.cacheDirectories = cacheArgs.joinToString(File.pathSeparator) {
|
||||||
@@ -168,7 +166,6 @@ abstract class KotlinJsIrLink @Inject constructor(
|
|||||||
compilation: KotlinCompilation<*>,
|
compilation: KotlinCompilation<*>,
|
||||||
cacheBuilder: CacheBuilder,
|
cacheBuilder: CacheBuilder,
|
||||||
visitedCompilations: MutableSet<KotlinCompilation<*>>,
|
visitedCompilations: MutableSet<KotlinCompilation<*>>,
|
||||||
visitedCacheDirectories: MutableSet<File>
|
|
||||||
): List<File> {
|
): List<File> {
|
||||||
if (compilation in visitedCompilations) return emptyList()
|
if (compilation in visitedCompilations) return emptyList()
|
||||||
visitedCompilations.add(compilation)
|
visitedCompilations.add(compilation)
|
||||||
@@ -179,7 +176,6 @@ abstract class KotlinJsIrLink @Inject constructor(
|
|||||||
it,
|
it,
|
||||||
cacheBuilder,
|
cacheBuilder,
|
||||||
visitedCompilations,
|
visitedCompilations,
|
||||||
visitedCacheDirectories
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user