@@ -19,7 +19,7 @@ plugins {
1919
2020repositories {
2121 maven {
22- url ' https://artifacts.itemis.cloud/repository/maven-mps/'
22+ url = ' https://artifacts.itemis.cloud/repository/maven-mps/'
2323 }
2424
2525 mavenCentral()
@@ -108,8 +108,8 @@ ext.artifactsDir = buildDirPath('artifacts')
108108ext. reportsDir = buildDirPath(' reports' )
109109
110110wrapper {
111- gradleVersion ' 8.13'
112- distributionType Wrapper.DistributionType . ALL
111+ gradleVersion = ' 8.13'
112+ distributionType = Wrapper.DistributionType . ALL
113113}
114114
115115configurations {
@@ -219,26 +219,26 @@ if (gradle.startParameter.logLevel.toString() != "LIFECYCLE") {
219219
220220// enables https://github.com/mbeddr/mps-gradle-plugin#providing-global-defaults
221221ext[" itemis.mps.gradle.ant.defaultScriptArgs" ] = defaultScriptArgs. collect { " -D$it . key =$it . value " . toString() }
222- ext[" itemis.mps.gradle.ant.defaultScriptClasspath" ] = project. configurations. junitAnt. fileCollection { true }
222+ ext[" itemis.mps.gradle.ant.defaultScriptClasspath" ] = project. configurations. junitAnt. getIncoming() . files
223223afterEvaluate {
224224 project. ext[" itemis.mps.gradle.ant.defaultJavaExecutable" ] = tasks. getByName(' downloadJbr' ). javaExecutable
225225}
226226
227227task buildAllScripts (type : BuildLanguages , dependsOn : resolveDependencies) {
228- script " $buildDir /scripts/build-allScripts.xml"
228+ script = " $buildDir /scripts/build-allScripts.xml"
229229}
230230
231231task prebuild (type : BuildLanguages , dependsOn : buildAllScripts) {
232- script " $buildDir /scripts/prebuild.xml"
232+ script = " $buildDir /scripts/prebuild.xml"
233233 targets " clean" , " generate"
234234}
235235
236236task buildLanguages (type : BuildLanguages , dependsOn : prebuild) {
237- script " $buildDir /scripts/build-languages.xml"
237+ script = " $buildDir /scripts/build-languages.xml"
238238}
239239
240240task execTestsByInterpreter (type : TestLanguages , dependsOn : buildLanguages) {
241- script " $buildDir /scripts/build-testInterpreter.xml"
241+ script = " $buildDir /scripts/build-testInterpreter.xml"
242242 targets " generate" ," build"
243243 doLast {
244244 ant. taskdef(name : ' junitInterpreterReport' ,
@@ -254,7 +254,7 @@ task execTestsByInterpreter(type: TestLanguages, dependsOn: buildLanguages) {
254254
255255
256256task buildAndRunTests (type : TestLanguages , dependsOn : buildLanguages) {
257- script " $buildDir /scripts/build-tests.xml"
257+ script = " $buildDir /scripts/build-tests.xml"
258258 doLast {
259259 ant. taskdef(name : ' junitreport' ,
260260 classname : ' org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator' ,
@@ -268,7 +268,7 @@ task buildAndRunTests(type: TestLanguages, dependsOn: buildLanguages) {
268268}
269269
270270task failOnTestError () {
271- description ' evaluate junit result and fail on error'
271+ description = ' evaluate junit result and fail on error'
272272 doLast {
273273
274274 def juniXml = file(' TESTS-TestSuites.xml' )
@@ -371,7 +371,7 @@ task packageTests(type: Zip, dependsOn: buildAndRunTests) {
371371}
372372
373373task buildDistroWithDependencies (type : RunAntScript , dependsOn : buildLanguages) {
374- script " $buildDir /scripts/build-distro.xml"
374+ script = " $buildDir /scripts/build-distro.xml"
375375 targets ' clean' , ' assemble'
376376}
377377
@@ -452,8 +452,8 @@ publishing {
452452
453453 publications {
454454 opensource(MavenPublication ) {
455- groupId group
456- artifactId name
455+ groupId = group
456+ artifactId = name
457457 artifact packageLanguages
458458
459459 addDependency(pom, configurations. languageLibs)
@@ -462,8 +462,8 @@ publishing {
462462 }
463463
464464 tests(MavenPublication ) {
465- groupId ' org.iets3.opensource'
466- artifactId ' tests'
465+ groupId = ' org.iets3.opensource'
466+ artifactId = ' tests'
467467 artifact packageTests
468468 addDependency(pom, ' org.iets3' , ' opensource' , project. version, ' zip' )
469469
@@ -473,29 +473,29 @@ publishing {
473473 def runtimesDir = new File (artifactsDir, ' org.iets3.opensource/org.iets3.core.os/languages/iets3.core.os' )
474474
475475 ' org.iets3.core.expr.base.shared.runtime' (MavenPublication ) {
476- groupId ' org.iets3.core.expr.base.shared'
477- artifactId ' shared-runtime'
476+ groupId = ' org.iets3.core.expr.base.shared'
477+ artifactId = ' shared-runtime'
478478 artifact(new File (runtimesDir, ' org.iets3.core.expr.base.shared.runtime.jar' )) {
479479 builtBy buildLanguages
480480 }
481481 artifact(new File (runtimesDir, ' org.iets3.core.expr.base.shared.runtime-src.jar' )) {
482482 builtBy buildLanguages
483- classifier ' sources'
483+ classifier = ' sources'
484484 }
485485
486486 pom additionalPomInfo
487487 }
488488
489489 ' org.iets3.core.expr.simpleTypes.runtime' (MavenPublication ) {
490490 // GitHub Packages refuse uppercase artifactId (not sure about groupId) so use lower case here
491- groupId ' org.iets3.core.expr.simpletypes'
492- artifactId ' simpletypes-runtime'
491+ groupId = ' org.iets3.core.expr.simpletypes'
492+ artifactId = ' simpletypes-runtime'
493493 artifact(new File (runtimesDir, ' org.iets3.core.expr.simpleTypes.runtime.jar' )) {
494494 builtBy buildLanguages
495495 }
496496 artifact(new File (runtimesDir, ' org.iets3.core.expr.simpleTypes.runtime-src.jar' )) {
497497 builtBy buildLanguages
498- classifier ' sources'
498+ classifier = ' sources'
499499 }
500500
501501 addDependency(pom, ' org.iets3.core.expr.base.shared' , ' shared-runtime' , project. version)
@@ -504,14 +504,14 @@ publishing {
504504 }
505505
506506 ' org.iets3.core.expr.datetime.runtime' (MavenPublication ) {
507- groupId ' org.iets3.core.expr.datetime'
508- artifactId ' datetime-runtime'
507+ groupId = ' org.iets3.core.expr.datetime'
508+ artifactId = ' datetime-runtime'
509509 artifact(new File (runtimesDir, ' org.iets3.core.expr.datetime.runtime.jar' )) {
510510 builtBy buildLanguages
511511 }
512512 artifact(new File (runtimesDir, ' org.iets3.core.expr.datetime.runtime-src.jar' )) {
513513 builtBy buildLanguages
514- classifier ' sources'
514+ classifier = ' sources'
515515 }
516516
517517 addDependency(pom, ' org.iets3.core.expr.base.shared' , ' shared-runtime' , project. version)
@@ -520,14 +520,14 @@ publishing {
520520 }
521521
522522 ' org.iets3.core.expr.temporal.runtime' (MavenPublication ) {
523- groupId ' org.iets3.core.expr.temporal'
524- artifactId ' temporal-runtime'
523+ groupId = ' org.iets3.core.expr.temporal'
524+ artifactId = ' temporal-runtime'
525525 artifact(new File (runtimesDir, ' org.iets3.core.expr.temporal.runtime.jar' )) {
526526 builtBy buildLanguages
527527 }
528528 artifact(new File (runtimesDir, ' org.iets3.core.expr.temporal.runtime-src.jar' )) {
529529 builtBy buildLanguages
530- classifier ' sources'
530+ classifier = ' sources'
531531 }
532532
533533 addDependency(pom, ' org.iets3.core.expr.datetime' , ' datetime-runtime' , project. version)
0 commit comments