mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
OPENIDE Add property for build ide without bundled plugins
This commit is contained in:
@@ -20,6 +20,7 @@ object OpenIdePluginBundler {
|
|||||||
private const val AMPLICODE_MARKETPLACE_URL = "https://amplicode.ru/jetbrains-marketplace"
|
private const val AMPLICODE_MARKETPLACE_URL = "https://amplicode.ru/jetbrains-marketplace"
|
||||||
|
|
||||||
fun getBundlePluginPaths(context: BuildContext): List<Path> {
|
fun getBundlePluginPaths(context: BuildContext): List<Path> {
|
||||||
|
if (System.getProperty("without.bundle.plugins") != null) return emptyList()
|
||||||
val communityHomeDir = context.paths.communityHomeDir
|
val communityHomeDir = context.paths.communityHomeDir
|
||||||
return listOf(
|
return listOf(
|
||||||
Path.of("${communityHomeDir}/$DOWNLOADABLE_PLUGINS_DIR/amplicode"),
|
Path.of("${communityHomeDir}/$DOWNLOADABLE_PLUGINS_DIR/amplicode"),
|
||||||
|
|||||||
Reference in New Issue
Block a user