I see https://github.com/JetBrains/MPS-extensions publishes releases via GitHub, however it does not look convenient for integration of the artifacts to a MPS-based project.
What if my project is built via MPS and it depends on MPS-extensions? It would be great if there was a way to automatically download proper extensions artifact via command line (e.g. ./gradlew downloadExtensions
)
The following worked for me:
build.gradle
(see https://github.com/Hardella/ide61131/blob/8088fbd9bcc2780f5772856a962fbfe6954b3e50/build.gradle ):Then
./gradlew resolve_extensions
downloads and unpacksmps-extensions
intolib/de.itemis.mps.extensions/...
folder.Then it can be plugged to
MPS
instance viaPreferences
->Build, Execution, Deployment
->Project Libraries
/Global Libraries
.The following
.mps/libraries.xml
configures the library asProject Library
: