[Build] Remove dist_root artifact from JPS project configuration

This artifact was used to build compiler artifact during each project
  build, which is not needed for running compiler tests. Removal of
  this artifact from build chain reduces time of build for ~3 seconds
  which is a lot for rebuilds after minor changes (which are usually
  take only few seconds)
This commit is contained in:
Dmitriy Novozhilov
2021-11-09 10:21:51 +03:00
committed by TeamCityServer
parent 1a0e2ad074
commit 0a902c1bef
2 changed files with 1 additions and 10 deletions
-8
View File
@@ -1,8 +0,0 @@
<component name="ArtifactManager">
<artifact build-on-make="true" name="dist_root">
<output-path>$PROJECT_DIR$/dist</output-path>
<root id="root">
<element id="artifact" artifact-name="dist" />
</root>
</artifact>
</component>
@@ -69,7 +69,6 @@ class JpsCompatiblePluginTasks(
private val LIB_DIRECTORIES = listOf("dependencies", "dist")
private val ALLOWED_ARTIFACT_PATTERNS = listOf(
Regex.fromLiteral("dist_root.xml"),
Regex("kotlinx_cli_jvm_[\\d_]+_SNAPSHOT\\.xml")
)
}
@@ -450,4 +449,4 @@ class JpsCompatiblePluginTasks(
return dependencies
}
}
}