-
- All Implemented Interfaces:
public final class KotlinRootNpmResolver
See KotlinNpmResolutionManager for details about resolution process.
This class contains many transient properties to deduplicate data when configuration cache is used. Regularly tasks share the same instance of this class, but with configuration cache each task that holds a reference to the instance will create an own copy. We use build services as a single storage for the heavy state of this class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
KotlinRootNpmResolver.Installation
-
Field Summary
Fields Modifier and Type Field Description private RootResolverState
state
private final Collection<KotlinJsCompilation>
compilations
private final transient NodeJsRootExtension
nodeJs
private final Boolean
forceFullResolve
-
Method Summary
Modifier and Type Method Description final RootResolverState
getState()
final Unit
setState(RootResolverState state)
final Collection<KotlinJsCompilation>
getCompilations()
final NodeJsRootExtension
getNodeJs()
final Boolean
getForceFullResolve()
final String
alreadyResolvedMessage(String action)
final Unit
addProject(Project target)
-
-
Method Detail
-
getState
final RootResolverState getState()
-
setState
final Unit setState(RootResolverState state)
-
getCompilations
final Collection<KotlinJsCompilation> getCompilations()
-
getNodeJs
final NodeJsRootExtension getNodeJs()
-
getForceFullResolve
final Boolean getForceFullResolve()
-
alreadyResolvedMessage
final String alreadyResolvedMessage(String action)
-
addProject
final Unit addProject(Project target)
-
-
-
-