J2K PathUtil: convert and prettify
This commit is contained in:
@@ -62,7 +62,7 @@ class K2JVMCompiler : CLICompiler<K2JVMCompilerArguments>() {
|
||||
val paths = if (arguments.kotlinHome != null)
|
||||
KotlinPathsFromHomeDir(File(arguments.kotlinHome))
|
||||
else
|
||||
PathUtil.getKotlinPathsForCompiler()
|
||||
PathUtil.kotlinPathsForCompiler
|
||||
|
||||
messageCollector.report(LOGGING, "Using Kotlin home directory ${paths.homePath}")
|
||||
PerformanceCounter.setTimeCounterEnabled(arguments.reportPerf)
|
||||
|
||||
@@ -477,7 +477,7 @@ class KotlinCoreEnvironment private constructor(
|
||||
var pluginRoot =
|
||||
configuration.get(CLIConfigurationKeys.INTELLIJ_PLUGIN_ROOT)?.let(::File)
|
||||
?: configuration.get(CLIConfigurationKeys.COMPILER_JAR_LOCATOR)?.compilerJar
|
||||
?: PathUtil.getPathUtilJar()
|
||||
?: PathUtil.pathUtilJar
|
||||
|
||||
val app = ApplicationManager.getApplication()
|
||||
val parentFile = pluginRoot.parentFile
|
||||
|
||||
Reference in New Issue
Block a user