File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -320,19 +320,18 @@ tasks.register('remigrate', Remigrate) {
320
320
321
321
File modelcheckresult = new File (" $buildDir /TEST-checkProject.xml" )
322
322
323
- def pluginsList = []
323
+ tasks. register(' checkmodels' , MpsCheck ) {
324
+ javaLauncher = tasks. named(' downloadJbr' , DownloadJbrForPlatform ). flatMap { it. javaLauncher }
324
325
325
- tasks. register(' modelcheck' , MpsCheck ) {
326
326
projectLocation = new File (" $projectDir /code/languages/org.iets3.opensource" )
327
- mpsLocation = new File (" $buildDir /mps" )
328
- plugins = pluginsList
329
- mpsConfig = configurations. mps
330
- macros = [new Macro (" iets3.github.opensource.home" , " $projectDir " )]
327
+ mpsHome = new File (" $buildDir /mps" )
328
+ pluginRoots. add(mpsHome. dir(' plugins' ))
329
+ folderMacros. put(" iets3.github.opensource.home" , layout. projectDirectory)
331
330
junitFile = modelcheckresult
332
331
junitFormat = " message"
333
- errorNoFail = true
332
+ ignoreFailures = true
334
333
debug = false
335
- maxHeap = " 4G"
334
+ maxHeapSize = " 4G"
336
335
}
337
336
338
337
afterEvaluate { project ->
You can’t perform that action at this time.
0 commit comments