Skip to content

Commit

Permalink
Merge pull request #2470 from mbeddr/feature/force-platform-build-222
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 14, 2024
2 parents 143d792 + a34f5c3 commit 5e3df47
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
@@ -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']

0 comments on commit 5e3df47

Please sign in to comment.