OPENIDE Add property for build ide without bundled plugins

This commit is contained in:
Nikita Iarychenko
2025-02-26 16:05:45 +04:00
parent 2225aba14b
commit f492e67d51

View File

@@ -20,6 +20,7 @@ object OpenIdePluginBundler {
private const val AMPLICODE_MARKETPLACE_URL = "https://amplicode.ru/jetbrains-marketplace"
fun getBundlePluginPaths(context: BuildContext): List<Path> {
if (System.getProperty("without.bundle.plugins") != null) return emptyList()
val communityHomeDir = context.paths.communityHomeDir
return listOf(
Path.of("${communityHomeDir}/$DOWNLOADABLE_PLUGINS_DIR/amplicode"),