make state in KotlinRootNpmResolverStateHolder public
https://youtrack.jetbrains.com/issue/KT-52647
This commit is contained in:
+3
-3
@@ -19,7 +19,7 @@ import org.jetbrains.kotlin.gradle.targets.js.yarn.YarnEnv
|
||||
import org.jetbrains.kotlin.gradle.targets.js.yarn.YarnResolution
|
||||
|
||||
// We use this service as a single storage for duplicated data in configuration cache
|
||||
internal abstract class KotlinRootNpmResolverStateHolder : BuildService<KotlinRootNpmResolverStateHolder.Parameters> {
|
||||
public abstract class KotlinRootNpmResolverStateHolder : BuildService<KotlinRootNpmResolverStateHolder.Parameters> {
|
||||
interface Parameters : BuildServiceParameters {
|
||||
val plugins: ListProperty<RootResolverPlugin>
|
||||
val projectResolvers: MapProperty<String, KotlinProjectNpmResolver>
|
||||
@@ -36,5 +36,5 @@ internal abstract class KotlinRootNpmResolverStateHolder : BuildService<KotlinRo
|
||||
var initialized = false
|
||||
|
||||
@Volatile
|
||||
var state = KotlinRootNpmResolver.State.CONFIGURING
|
||||
}
|
||||
public var state = KotlinRootNpmResolver.State.CONFIGURING
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user