Miscellaneous tasks that were found useful when building MPS-based projects with Gradle.
This plugin is not published to the Gradle plugin portal but to a public repository of itemis. To configure this
repository add the following at the beginning of your settings.gradle
:
pluginManagement {
repositories {
maven { url 'https://artifacts.itemis.cloud/repository/maven-mps' }
// Need to manually include the default Gradle plugin portal repository when overriding the defaults.
gradlePluginPortal()
}
}
To make use of custom task types, add the following plugins
block to your build script:
plugins {
id 'de.itemis.mps.gradle.common' version '1.+'
}
Use a more precisely specified version such as 1.26.0.+
or Gradle dependency locking for better build
reproducibility.
Tasks:
- RunAntScript -- run an MPS-generated Ant script.
- CreateDmg -- (macOS only) create a .dmg installer.
- BundleMacosJdk -- (Linux/macOS) create a .tar.gz by combining an RCP artifact and a JDK.
- GenerateLibrariesXml -- generate a
.mps/libraries.xml
file from property files. - MpsCheck -- check (a subset of) models in a project.
- MpsExecute -- execute a specified method in a generated class in the context of a running MPS instance with an open project.
- MpsGenerate -- generate (a subset of) models in a project without the need for a MPS build model.
- MpsMigrate -- Run pending migrations on one or several MPS projects.
Plugins:
- generate -- Deprecated. Generate (a subset of) models in a project without the need for a MPS build model.
- modelcheck/checkmodels -- Deprecated. Check (a subset of) models in a project.
- download-jbr/downloadJbr -- Download JetBrains Runtime.