Skip to content

mbeddr/mps-gradle-plugin

Repository files navigation

mps-gradle-plugin

Miscellaneous tasks that were found useful when building MPS-based projects with Gradle.

Configuring the plugin repository

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()
    }
}

Provided Tasks

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.

Reference

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:

About

Miscellaneous tasks that were found useful when building MPS-based projects with Gradle.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors