Skip to content

Commit

Permalink
1.22.2: adjust some paths in MpsCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
sergej-koscejev committed Feb 9, 2024
1 parent 6d52c83 commit 1a5f477
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 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.22.2

### Fixed

- Minor fix in the computation of `MpsCheck` input files.

## 1.22.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.22.1"
val baseVersion = "1.22.2"

group = "de.itemis.mps"

Expand Down
7 changes: 4 additions & 3 deletions src/main/kotlin/de/itemis/mps/gradle/tasks/MpsCheck.kt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ abstract class MpsCheck : JavaExec(), VerificationTask {
@get:SkipWhenEmpty
@get:PathSensitive(PathSensitivity.NONE)
protected val sources: FileTree = projectLocation.asFileTree.matching {
exclude(project.layout.buildDirectory.get().asFile.relativeTo(projectLocation.get().asFile).path + "/**")
exclude(project.layout.buildDirectory.get().asFile.toRelativeString(projectLocation.get().asFile))
exclude("**/*_gen*")
exclude("**/*_gen*/**")

include("**/*.msd")
Expand All @@ -88,8 +89,8 @@ abstract class MpsCheck : JavaExec(), VerificationTask {
@Suppress("unused")
@get:Classpath
protected val compiledClasses: FileTree = projectLocation.asFileTree.matching {
exclude(project.layout.buildDirectory.get().asFile.relativeTo(projectLocation.get().asFile).path + "/**")
include("**/classes_gen/*")
exclude(project.layout.buildDirectory.get().asFile.toRelativeString(projectLocation.get().asFile))
include("**/classes_gen/**")
}

init {
Expand Down

0 comments on commit 1a5f477

Please sign in to comment.