[Gradle, JS] Remove redundant dependsOn
- in CopySpec if task in from, dependsOn is automatically set
This commit is contained in:
+1
-5
@@ -140,11 +140,7 @@ open class KotlinBrowserJsIr @Inject constructor(target: KotlinJsIrTarget) :
|
|||||||
DISTRIBUTE_RESOURCES_TASK_NAME
|
DISTRIBUTE_RESOURCES_TASK_NAME
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
it.dependsOn(
|
it.from(processResourcesTask)
|
||||||
processResourcesTask
|
|
||||||
)
|
|
||||||
|
|
||||||
it.from(compilation.output.resourcesDir)
|
|
||||||
it.into(distribution.directory ?: baseDist)
|
it.into(distribution.directory ?: baseDist)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-3
@@ -169,9 +169,7 @@ open class KotlinBrowserJs @Inject constructor(target: KotlinJsTarget) :
|
|||||||
DISTRIBUTE_RESOURCES_TASK_NAME
|
DISTRIBUTE_RESOURCES_TASK_NAME
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
it.dependsOn(processResourcesTask)
|
it.from(processResourcesTask)
|
||||||
|
|
||||||
it.from(compilation.output.resourcesDir)
|
|
||||||
it.into(distribution.directory ?: baseDist)
|
it.into(distribution.directory ?: baseDist)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user