Skip to content

Commit

Permalink
added explicit cast to String to avoid CastException in mps gradle pl…
Browse files Browse the repository at this point in the history
…ugin
  • Loading branch information
wsafonov committed Nov 18, 2019
1 parent aacd999 commit 1013dff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ def defaultScriptArgs = [
]

// enables https://github.com/mbeddr/mps-gradle-plugin#providing-global-defaults
ext["itemis.mps.gradle.ant.defaultScriptArgs"] = defaultScriptArgs.collect { "-D$it.key=$it.value" }
ext["itemis.mps.gradle.ant.defaultScriptArgs"] = defaultScriptArgs.collect { "-D$it.key=$it.value".toString() }
ext["itemis.mps.gradle.ant.defaultScriptClasspath"] = buildScriptClasspath

task resolveLanguageLibs(type: Copy) {
Expand Down

0 comments on commit 1013dff

Please sign in to comment.