Minor, rename JVMConfigurationKeys.ADD_BUILT_INS_TO_DEPENDENCIES
This commit is contained in:
@@ -58,8 +58,8 @@ public class JVMConfigurationKeys {
|
||||
|
||||
public static final CompilerConfigurationKey<Boolean> USE_SINGLE_MODULE =
|
||||
CompilerConfigurationKey.create("combine modules for source files and binary dependencies into a single module");
|
||||
public static final CompilerConfigurationKey<Boolean> ADD_BUILT_INS_TO_DEPENDENCIES =
|
||||
CompilerConfigurationKey.create("add built-ins to dependencies");
|
||||
public static final CompilerConfigurationKey<Boolean> ADD_BUILT_INS_FROM_COMPILER_TO_DEPENDENCIES =
|
||||
CompilerConfigurationKey.create("add built-ins from the compiler jar to the dependencies of the module being resolved");
|
||||
|
||||
public static final CompilerConfigurationKey<JvmTarget> JVM_TARGET =
|
||||
CompilerConfigurationKey.create("JVM bytecode target version");
|
||||
|
||||
+2
-2
@@ -135,7 +135,7 @@ object TopDownAnalyzerFacadeForJVM {
|
||||
dependenciesContext.setDependencies(listOfNotNull(
|
||||
dependenciesContext.module,
|
||||
dependenciesContext.module.builtIns.builtInsModule.check {
|
||||
configuration.getBoolean(JVMConfigurationKeys.ADD_BUILT_INS_TO_DEPENDENCIES)
|
||||
configuration.getBoolean(JVMConfigurationKeys.ADD_BUILT_INS_FROM_COMPILER_TO_DEPENDENCIES)
|
||||
}
|
||||
))
|
||||
dependenciesContext.initializeModuleContents(CompositePackageFragmentProvider(listOf(
|
||||
@@ -182,7 +182,7 @@ object TopDownAnalyzerFacadeForJVM {
|
||||
// TODO: remove dependencyModule from friends
|
||||
module.setDependencies(ModuleDependenciesImpl(
|
||||
listOfNotNull(module, dependencyModule, module.builtIns.builtInsModule.check {
|
||||
configuration.getBoolean(JVMConfigurationKeys.ADD_BUILT_INS_TO_DEPENDENCIES)
|
||||
configuration.getBoolean(JVMConfigurationKeys.ADD_BUILT_INS_FROM_COMPILER_TO_DEPENDENCIES)
|
||||
}),
|
||||
if (dependencyModule != null) setOf(dependencyModule) else emptySet()
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user