Build: Force child projects evaluation while importing jps
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
@file:Suppress("UnstableApiUsage")
|
@file:Suppress("UnstableApiUsage")
|
||||||
|
|
||||||
import org.gradle.api.internal.project.ProjectInternal
|
|
||||||
import org.jetbrains.gradle.ext.*
|
import org.jetbrains.gradle.ext.*
|
||||||
import org.jetbrains.kotlin.ideaExt.*
|
import org.jetbrains.kotlin.ideaExt.*
|
||||||
|
|
||||||
@@ -53,6 +52,10 @@ if (kotlinBuildProperties.isInJpsBuildIdeaSync) {
|
|||||||
inheritOutputDirs = true
|
inheritOutputDirs = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this != rootProject) {
|
||||||
|
evaluationDependsOn(path)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
rootProject.idea {
|
rootProject.idea {
|
||||||
@@ -298,7 +301,6 @@ fun NamedDomainObjectContainer<TopLevelArtifact>.kotlinc() {
|
|||||||
|
|
||||||
fun NamedDomainObjectContainer<TopLevelArtifact>.ideaPlugin() {
|
fun NamedDomainObjectContainer<TopLevelArtifact>.ideaPlugin() {
|
||||||
val ideaPluginProject = project(":prepare:idea-plugin")
|
val ideaPluginProject = project(":prepare:idea-plugin")
|
||||||
(ideaPluginProject as ProjectInternal).evaluate()
|
|
||||||
val libraries by ideaPluginProject.configurations
|
val libraries by ideaPluginProject.configurations
|
||||||
val jpsPlugin by ideaPluginProject.configurations
|
val jpsPlugin by ideaPluginProject.configurations
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user