Skip to content

Commit

Permalink
Add the ability to force platform build
Browse files Browse the repository at this point in the history
Useful for pull requests where we want to build everything to check.
  • Loading branch information
sergej-koscejev committed Aug 1, 2024
1 parent 3bd158d commit a140bc7
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 a140bc7

Please sign in to comment.