Implement publishing in the build
This commit is contained in:
@@ -18,7 +18,7 @@ dependencies {
|
||||
compile(project(":js:js.dce"))
|
||||
compile(ideaSdkCoreDeps(*(rootProject.extra["ideaCoreSdkJars"] as Array<String>)))
|
||||
compile(commonDep("org.fusesource.jansi", "jansi"))
|
||||
compile(commonDep("jline"))
|
||||
compile(commonDep("org.jline", "jline"))
|
||||
compile(files("${System.getProperty("java.home")}/../lib/tools.jar"))
|
||||
}
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ apply { plugin("kotlin") }
|
||||
|
||||
dependencies {
|
||||
val compile by configurations
|
||||
compile(kotlinDep("stdlib"))
|
||||
compile(project(":kotlin-stdlib"))
|
||||
buildVersion()
|
||||
}
|
||||
|
||||
|
||||
@@ -498,7 +498,7 @@ class KotlinCoreEnvironment private constructor(
|
||||
val pluginRoot =
|
||||
configuration.get(CLIConfigurationKeys.INTELLIJ_PLUGIN_ROOT)?.let(::File)
|
||||
?: configuration.get(CLIConfigurationKeys.COMPILER_JAR_LOCATOR)?.compilerJar
|
||||
?: PathUtil.getPathUtilJar().takeIf { it.hasConfigFile(configFilePath) }
|
||||
?: PathUtil.pathUtilJar.takeIf { it.hasConfigFile(configFilePath) }
|
||||
// hack for load extensions when compiler run directly from project directory (e.g. in tests)
|
||||
?: File("idea/src").takeIf { it.hasConfigFile(configFilePath) }
|
||||
?: throw IllegalStateException("Unable to find extension point configuration $configFilePath")
|
||||
|
||||
Reference in New Issue
Block a user