IJI-1179 MPS build modules added to the main project

GitOrigin-RevId: 822f00a9873cdefb02f068d9d302e5858fdd8c5e
This commit is contained in:
Dmitriy.Panov
2024-08-15 17:34:48 +02:00
committed by intellij-monorepo-bot
parent 69adc6318a
commit 9edc12da0f
7 changed files with 42 additions and 26 deletions

2
.idea/modules.xml generated
View File

@@ -999,6 +999,8 @@
<module fileurl="file://$PROJECT_DIR$/plugins/mcp-server/tests/plugin/intellij.mcpserver.tests.plugin.iml" filepath="$PROJECT_DIR$/plugins/mcp-server/tests/plugin/intellij.mcpserver.tests.plugin.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/ml-local-models/intellij.ml.models.local.iml" filepath="$PROJECT_DIR$/plugins/ml-local-models/intellij.ml.models.local.iml" />
<module fileurl="file://$PROJECT_DIR$/plugins/ml-local-models/java/intellij.ml.models.local.java.iml" filepath="$PROJECT_DIR$/plugins/ml-local-models/java/intellij.ml.models.local.java.iml" />
<module fileurl="file://$PROJECT_DIR$/mps/build/intellij.mps.build.iml" filepath="$PROJECT_DIR$/mps/build/intellij.mps.build.iml" />
<module fileurl="file://$PROJECT_DIR$/mps/build/intellij.mps.resources/intellij.mps.resources.iml" filepath="$PROJECT_DIR$/mps/build/intellij.mps.resources/intellij.mps.resources.iml" />
<module fileurl="file://$PROJECT_DIR$/jupyter/intellij.notebooks.jupyter.core.iml" filepath="$PROJECT_DIR$/jupyter/intellij.notebooks.jupyter.core.iml" />
<module fileurl="file://$PROJECT_DIR$/notebooks/notebook-ui/intellij.notebooks.ui.iml" filepath="$PROJECT_DIR$/notebooks/notebook-ui/intellij.notebooks.ui.iml" />
<module fileurl="file://$PROJECT_DIR$/notebooks/visualization/intellij.notebooks.visualization.iml" filepath="$PROJECT_DIR$/notebooks/visualization/intellij.notebooks.visualization.iml" />

View File

@@ -498,6 +498,8 @@ libraries/xml-rpc
libraries/xstream
libraries/xtext-xbase
libraries/xz
mps/build
mps/build/intellij.mps.resources
notebooks/notebook-ui
notebooks/visualization
platform/analysis-api

24
mps/build/.gitignore vendored
View File

@@ -1,24 +0,0 @@
# Ignore downloaded community files
/community
# Ignore output directory
/out
/build/jps-bootstrap-work
# Ignore libraries because they are copied & modified by ant script
/.idea/libraries
# Ignore artifacts because they are copied & modified by ant script
/.idea/artifacts
# Ignore compiler.xml because it is copied & modified by ant script
/.idea/compiler.xml
# Ignore modules.xml because it is copied & modified by ant script
/.idea/modules.xml
# Ignore jarRepositories.xml because it is copied & modified by ant script
/.idea/jarRepositories.xml
# Ignore kotlinc.xml because it is copied & modified by ant script
/.idea/kotlinc.xml

20
mps/build/BUILD.bazel Normal file
View File

@@ -0,0 +1,20 @@
### auto-generated section `build intellij.mps.build` start
load("@rules_jvm//:jvm.bzl", "jvm_library")
jvm_library(
name = "build",
module_name = "intellij.mps.build",
visibility = ["//visibility:public"],
srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True),
deps = [
"@lib//ant/lib:ant",
"//build",
"//java/java-runtime:rt",
"//jps/standalone-builder:tools-jps-build-standalone",
"@lib//:kotlin-stdlib",
"//platform/build-scripts/downloader",
"@lib//:kotlinx-collections-immutable",
"@lib//:kotlinx-coroutines-core",
]
)
### auto-generated section `build intellij.mps.build` end

View File

@@ -0,0 +1,16 @@
### auto-generated section `build intellij.mps.resources` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "resourcegroup")
resourcegroup(
name = "mps-resources_resources",
srcs = glob(["src/**/*"]),
strip_prefix = "src"
)
jvm_library(
name = "mps-resources",
visibility = ["//visibility:public"],
srcs = glob([], allow_empty = True),
resources = [":mps-resources_resources"]
)
### auto-generated section `build intellij.mps.resources` end

View File

@@ -2,8 +2,8 @@
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$/../intellij.mps.resources">
<sourceFolder url="file://$MODULE_DIR$/../intellij.mps.resources/src" type="java-resource" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" type="java-resource" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />