diff --git a/build.gradle b/build.gradle index 00c29370..676780c1 100644 --- a/build.gradle +++ b/build.gradle @@ -106,43 +106,35 @@ ant.taskdef(name: 'junit', classname: 'org.apache.tools.ant.taskdefs.optional.junit.JUnitTask', classpath: configurations.junitAnt.asPath) -ant.importBuild('build.xml') +ant.importBuild('build.xml') { antTarget -> + 'coderules-'+antTarget +} ant.properties.'ci.build.num' = "${tagMatcher().find() ? tagMatcher()[0][2] : '9999'}".toString() // ensure 'init' runs before 'fetchDependencies' and 'declare-mps-tasks' -fetchDependencies { +'coderules-fetchDependencies' { dependsOn { 'init' } } -'declare-mps-tasks' { +'coderules-declare-mps-tasks' { dependsOn { 'init' } } // ensure 'generate' runs before 'classes' ('generate' is NOT optional) -allprojects { - classes { - dependsOn { - 'generate' - } - mustRunAfter { - 'generate' - } +'coderules-classes' { + dependsOn { + 'coderules-generate' } - test { - dependsOn { - 'assemble' - } - mustRunAfter { - 'assemble' - } + mustRunAfter { + 'coderules-generate' } } -assemble { +'coderules-assemble' { finalizedBy { 'generateUpdatePluginsXml' } diff --git a/build.xml b/build.xml index abc6b8cc..d1ea6fa6 100644 --- a/build.xml +++ b/build.xml @@ -5,7 +5,6 @@ - @@ -19,13 +18,13 @@ - + - + @@ -1341,7 +1340,7 @@ Experimental support for type checking with constraint rules 0.5-b${ci.build.num} JetBrains s.r.o. - + @@ -2519,28 +2518,28 @@ typechecking-plugin.ci.build.num=${ci.build.num}${line.separator}mps.build.number=${mps.build.number}${line.separator}mps.date=${mps.date}${line.separator}mps.build.vcs.number=${mps.build.vcs.number}${line.separator}mps.teamcity.buildConfName=${mps.teamcity.buildConfName}${line.separator}mps.idea.platform.build.number=${mps.idea.platform.build.number}${line.separator}mps.mps.build.counter=${mps.mps.build.counter}${line.separator}mpsBootstrapCore.version=${mpsBootstrapCore.version} - + - + - + - + - + - + - + - + - + - + @@ -2636,6 +2635,7 @@ + @@ -2682,15 +2682,15 @@ - + - + - + - + @@ -2699,10 +2699,12 @@ - + + + - + @@ -2753,7 +2755,7 @@ - + @@ -2804,7 +2806,7 @@ - + @@ -2840,7 +2842,7 @@ - + @@ -2892,7 +2894,7 @@ - + @@ -2940,7 +2942,7 @@ - + @@ -2981,7 +2983,7 @@ - + @@ -3012,7 +3014,7 @@ - + @@ -3066,7 +3068,7 @@ - + @@ -3129,7 +3131,7 @@ - + @@ -3184,7 +3186,7 @@ - + @@ -3229,7 +3231,7 @@ - + @@ -3274,7 +3276,7 @@ - + @@ -3331,7 +3333,7 @@ - + @@ -3380,7 +3382,7 @@ - + @@ -3437,7 +3439,7 @@ - + @@ -3475,7 +3477,7 @@ - + @@ -3487,7 +3489,7 @@ - + @@ -3557,7 +3559,7 @@ - + @@ -3588,7 +3590,7 @@ - + @@ -3642,7 +3644,7 @@ - + @@ -3705,7 +3707,7 @@ - + @@ -3756,7 +3758,7 @@ - + @@ -3811,7 +3813,7 @@ - + @@ -3888,7 +3890,7 @@ - + @@ -3962,7 +3964,7 @@ - + @@ -4001,7 +4003,7 @@ - + @@ -4042,7 +4044,7 @@ - + @@ -4095,7 +4097,7 @@ - + @@ -4149,7 +4151,7 @@ - + @@ -4184,7 +4186,7 @@ - + @@ -4328,23 +4330,25 @@ - + - + + + - + - + @@ -4380,4 +4384,4 @@ - + \ No newline at end of file diff --git a/coderules/solutions/jetbrains.mps.typechecking.build/models/jetbrains.mps.typechecking.build.mps b/coderules/solutions/jetbrains.mps.typechecking.build/models/jetbrains.mps.typechecking.build.mps index 8a635c4f..f7ce7302 100644 --- a/coderules/solutions/jetbrains.mps.typechecking.build/models/jetbrains.mps.typechecking.build.mps +++ b/coderules/solutions/jetbrains.mps.typechecking.build/models/jetbrains.mps.typechecking.build.mps @@ -12,6 +12,7 @@ + @@ -238,6 +239,9 @@ + + +