Skip to content

mbeddr/mps-gradle-plugin

Folders and files

NameName
Last commit message
Last commit date
Oct 26, 2023
Jul 9, 2024
Jun 28, 2024
Sep 10, 2024
Sep 27, 2024
Sep 28, 2024
Apr 9, 2020
Nov 16, 2020
Jul 9, 2024
Mar 27, 2017
Jun 26, 2024
Sep 27, 2024
Sep 27, 2024
Sep 27, 2024
Sep 27, 2024
Sep 27, 2024
Sep 27, 2024
Sep 27, 2024

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

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages 11

Contributors 12