[Pill] Remove 'jps-compatible' plugin from the root Kotlin project

'excludedDirs' definition is not needed anymore, so the plugin usage
is not really useful.
This commit is contained in:
Yan Zhulanow
2023-12-06 22:16:41 +09:00
committed by Space Team
parent d4153c1458
commit e4da639e1c
2 changed files with 1 additions and 11 deletions
-10
View File
@@ -32,7 +32,6 @@ buildscript {
plugins {
base
idea
id("jps-compatible")
id("org.jetbrains.gradle.plugin.idea-ext") version "1.0.1" // this version should be in sync with repo/buildsrc-compat/build.gradle.kts
id("build-time-report")
id("java-instrumentation")
@@ -50,15 +49,6 @@ plugins {
}
}
pill {
excludedDirs(
"out",
"buildSrc/build",
"buildSrc/prepare-deps/intellij-sdk/build",
"intellij"
)
}
val isTeamcityBuild = project.kotlinBuildProperties.isTeamcityBuild
val defaultSnapshotVersion: String by extra
@@ -39,7 +39,7 @@ class ModelParser(private val modulePrefix: String, private val globalExcludedDi
}
val (includedProjects, excludedProjects) = project.allprojects
.partition { it.plugins.hasPlugin("jps-compatible") }
.partition { it == project || it.plugins.hasPlugin("jps-compatible") }
val modules = includedProjects.flatMap { parseModules(it, excludedProjects) }
val artifacts = parseArtifacts(project)