Skip to content

Commit

Permalink
Merge pull request #2464 from mbeddr/feature/pull-request-build
Browse files Browse the repository at this point in the history
Add the ability to force platform build
  • Loading branch information
sergej-koscejev authored Aug 1, 2024
2 parents 3bd158d + a140bc7 commit 08496cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/com.mbeddr/languages/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,10 @@ ant.taskdef(name: 'junitreport', classname: 'org.apache.tools.ant.taskdefs.optio

def mbeddrDependencies

def usePrebuiltPlatform = ciBuild && !project.hasProperty('forceBuildPlatform')

//on teamcity we don't build the platform we take it from the nexus. Locally we want to build it
if (ciBuild) {
if (usePrebuiltPlatform) {
mbeddrDependencies = [copy_spawner, resolve_mbeddr_platform]
} else {
mbeddrDependencies = [copy_spawner, ':build:com.mbeddr:platform:build_platform']
Expand Down

0 comments on commit 08496cc

Please sign in to comment.