[Gradle] Fix warnings in YarnWorkspaces
^KT-56904 In Progress
This commit is contained in:
committed by
Space Team
parent
40fa94b23b
commit
bbf933ce70
+4
-4
@@ -23,7 +23,7 @@ class YarnWorkspaces : YarnBasics() {
|
|||||||
|
|
||||||
override fun prepareRootProject(
|
override fun prepareRootProject(
|
||||||
nodeJs: NodeJsEnvironment,
|
nodeJs: NodeJsEnvironment,
|
||||||
yarn: YarnEnvironment,
|
packageManagerEnvironment: YarnEnvironment,
|
||||||
rootProjectName: String,
|
rootProjectName: String,
|
||||||
rootProjectVersion: String,
|
rootProjectVersion: String,
|
||||||
subProjects: Collection<PreparedKotlinCompilationNpmResolution>,
|
subProjects: Collection<PreparedKotlinCompilationNpmResolution>,
|
||||||
@@ -33,7 +33,7 @@ class YarnWorkspaces : YarnBasics() {
|
|||||||
rootProjectName,
|
rootProjectName,
|
||||||
rootProjectVersion,
|
rootProjectVersion,
|
||||||
subProjects,
|
subProjects,
|
||||||
yarn.yarnResolutions
|
packageManagerEnvironment.yarnResolutions
|
||||||
.associate { it.path to it.toVersionString() },
|
.associate { it.path to it.toVersionString() },
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
@@ -60,7 +60,7 @@ class YarnWorkspaces : YarnBasics() {
|
|||||||
services: ServiceRegistry,
|
services: ServiceRegistry,
|
||||||
logger: Logger,
|
logger: Logger,
|
||||||
nodeJs: NodeJsEnvironment,
|
nodeJs: NodeJsEnvironment,
|
||||||
yarn: YarnEnvironment,
|
packageManagerEnvironment: YarnEnvironment,
|
||||||
npmProjects: Collection<PreparedKotlinCompilationNpmResolution>,
|
npmProjects: Collection<PreparedKotlinCompilationNpmResolution>,
|
||||||
cliArgs: List<String>
|
cliArgs: List<String>
|
||||||
) {
|
) {
|
||||||
@@ -70,7 +70,7 @@ class YarnWorkspaces : YarnBasics() {
|
|||||||
services,
|
services,
|
||||||
logger,
|
logger,
|
||||||
nodeJs,
|
nodeJs,
|
||||||
yarn,
|
packageManagerEnvironment,
|
||||||
nodeJsWorldDir,
|
nodeJsWorldDir,
|
||||||
NpmApiExecution.resolveOperationDescription("yarn"),
|
NpmApiExecution.resolveOperationDescription("yarn"),
|
||||||
cliArgs
|
cliArgs
|
||||||
|
|||||||
Reference in New Issue
Block a user