code/nxt-integration/build.gradle.kts (36 lines of code) (raw):

import org.fbme.gradle.moduleDependency plugins { kotlin mps } dependencies { compileOnly(mpsDistribution()) compileOnly(project(":code:library")) compileOnly(project(":code:language")) compileOnly(project(":code:platform")) testImplementation(mpsDistribution()) testImplementation(project(":code:library")) testImplementation(project(":code:language")) testImplementation(project(":code:platform")) mpsImplementation(project(":code:library", "mps")) mpsImplementation(project(":code:language", "mps")) mpsImplementation(project(":code:platform", "mps")) mpsImplementation(project(":code:richediting", "mps")) } mps { buildScriptName.set("fbme_nxt") moduleName.set("org.fbme.integration.nxt.lib") moduleDependency(project(":code:library")) moduleDependency(project(":code:platform")) } val mpsPrepare by tasks.getting(Copy::class) { from("build/libs/nxt-integration.jar") into("solutions/org.fbme.integration.nxt/lib") } val test by tasks.getting(Test::class) { dependsOn( ":code:library:buildDistPlugin", ":code:platform:buildDistPlugin", "buildDistPlugin" ) }