Skip to content

Commit

Permalink
Update minimum supported MPS version to MPS 2022.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
wjglerum committed Apr 11, 2024
1 parent ba7f83e commit 07a93de
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 1.24.0

### Changes

- Update minimum supported MPS version to MPS 2022.2.2 and updates underlying dependencies.

## 1.23.1

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ plugins {
id("org.jetbrains.kotlinx.binary-compatibility-validator") version "0.13.2"
}

val baseVersion = "1.23.1"
val baseVersion = "1.24.0"

group = "de.itemis.mps"

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
package test.de.itemis.mps.gradle

import de.itemis.mps.gradle.ErrorMessages
import de.itemis.mps.gradle.downloadJBR.DownloadJbrConfiguration
import de.itemis.mps.gradle.modelcheck.ModelCheckPluginExtensions
import org.gradle.kotlin.dsl.configure
import org.gradle.testfixtures.ProjectBuilder
import org.gradle.testkit.runner.GradleRunner
import org.gradle.testkit.runner.TaskOutcome
import org.hamcrest.CoreMatchers
Expand Down Expand Up @@ -57,13 +53,13 @@ class ModelCheckWithPluginTest {
""".trimIndent() + "\n"

@Test
fun `check model works with MPS 2020_3_3`() {
fun `check model works with MPS 2022_2_2`() {
extractProject("test-project")

settingsFile.writeText(settingsBoilerplate())

buildFile.writeText(
buildScriptBoilerplate("2020.3.3") + """
buildScriptBoilerplate("2022.2.2") + """
modelcheck {
projectLocation = file("${mpsTestPrjLocation.toPath()}")
mpsConfig = mps
Expand Down Expand Up @@ -93,13 +89,13 @@ class ModelCheckWithPluginTest {
}
downloadJbr {
jbrVersion = "11_0_10-b1341.41"
jbrVersion = "17.0.6-b469.82"
}
modelcheck {
projectLocation = projectDir
mpsLocation = file("build/mps")
mpsVersion = "2020.3.3"
mpsVersion = "2022.2.2"
javaExec = (tasks.getByName("downloadJbr") as DownloadJbrForPlatform).javaExecutable
}
Expand Down Expand Up @@ -132,7 +128,7 @@ class ModelCheckWithPluginTest {
settingsFile.writeText(settingsBoilerplate())

buildFile.writeText(
buildScriptBoilerplate("2021.1.4") +
buildScriptBoilerplate("2022.2.2") +
"""
modelcheck {
projectLocation = file("${mpsTestPrjLocation.toPath()}")
Expand All @@ -158,7 +154,7 @@ class ModelCheckWithPluginTest {
settingsFile.writeText(settingsBoilerplate())

buildFile.writeText(
buildScriptBoilerplate("2021.1.4") +
buildScriptBoilerplate("2022.2.2") +
"""
modelcheck {
projectLocation = file("${mpsTestPrjLocation.toPath()}")
Expand Down Expand Up @@ -211,7 +207,7 @@ class ModelCheckWithPluginTest {
settingsFile.writeText(settingsBoilerplate())

buildFile.writeText(
buildScriptBoilerplate("2020.3.3") +
buildScriptBoilerplate("2022.2.2") +
"""
modelcheck {
projectLocation = file("${mpsTestPrjLocation.toPath()}")
Expand All @@ -236,7 +232,7 @@ class ModelCheckWithPluginTest {
settingsFile.writeText(settingsBoilerplate())

buildFile.writeText(
buildScriptBoilerplate("2020.3.3") +
buildScriptBoilerplate("2022.2.2") +
"""
modelcheck {
projectLocation = file("${mpsTestPrjLocation.toPath()}")
Expand All @@ -261,11 +257,11 @@ class ModelCheckWithPluginTest {
settingsFile.writeText(settingsBoilerplate())

buildFile.writeText(
buildScriptBoilerplate("2020.3.3") +
buildScriptBoilerplate("2022.2.2") +
"""
modelcheck {
projectLocation = file("${mpsTestPrjLocation.toPath()}")
mpsVersion = "2020.2.2"
mpsVersion = "2022.2.2"
junitFile = file("${junitFile.absolutePath}")
}
""".trimIndent()
Expand All @@ -284,7 +280,7 @@ class ModelCheckWithPluginTest {
settingsFile.writeText(settingsBoilerplate())

buildFile.writeText(
buildScriptBoilerplate("2020.3.3") +
buildScriptBoilerplate("2022.2.2") +
"""
modelcheck {
projectLocation = file("${mpsTestPrjLocation.toPath()}")
Expand Down

0 comments on commit 07a93de

Please sign in to comment.