Move some configuration keys to JVM or to CommonConfigurationKeys
Move CONTENT_ROOTS and SCRIPT_DEFINITIONS_KEY to JVMConfigurationKeys because they are only used on JVM, rename the latter to SCRIPT_DEFINITIONS. Move MODULE_NAME to CommonConfigurationKeys to be combined with MODULE_ID in JSConfigurationKeys in the future
This commit is contained in:
@@ -59,7 +59,7 @@ class GenerationState @JvmOverloads constructor(
|
||||
val generateDeclaredClassFilter: GenerateClassFilter = GenerationState.GenerateClassFilter.GENERATE_ALL,
|
||||
// For incremental compilation
|
||||
val targetId: TargetId? = null,
|
||||
moduleName: String? = configuration.get(JVMConfigurationKeys.MODULE_NAME),
|
||||
moduleName: String? = configuration.get(CommonConfigurationKeys.MODULE_NAME),
|
||||
// 'outDirectory' is a hack to correctly determine if a compiled class is from the same module as the callee during
|
||||
// partial compilation. Module chunks are treated as a single module.
|
||||
// TODO: get rid of it with the proper module infrastructure
|
||||
|
||||
Reference in New Issue
Block a user