Skip to content

Commit

Permalink
Merge pull request #2568 from mbeddr/bugfix/fix-prebuilt-platform
Browse files Browse the repository at this point in the history
build: depend on resolve_mbeddr_platform
  • Loading branch information
sergej-koscejev authored Oct 24, 2024
2 parents 33492bd + ca2dbad commit 5df5422
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build/com.mbeddr/languages/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ dependencies {
}

task resolve_mbeddr_platform() {
dependsOn(configurations.mbeddrPlatform)
doLast {
copy {
from {
Expand All @@ -65,9 +66,7 @@ ant.taskdef(name: 'junit', classname: 'org.apache.tools.ant.taskdefs.optional.ju
ant.taskdef(name: 'junitreport', classname: 'org.apache.tools.ant.taskdefs.optional.junit.XMLResultAggregator',
classpath: configurations.junitAnt.asPath)

def mbeddrPlatformDependency

task build_mbeddr(type: BuildLanguages, dependsOn: [':com.mbeddr:platform:copy_allScripts', configurations.mbeddrPlatform]) {
task build_mbeddr(type: BuildLanguages, dependsOn: [':com.mbeddr:platform:copy_allScripts', 'resolve_mbeddr_platform']) {
script script_build_mbeddr
outputs.dir("$artifactsDir/mbeddr")
}
Expand Down

0 comments on commit 5df5422

Please sign in to comment.