Skip to content

Commit

Permalink
Merge pull request #2493 from mbeddr/refactor/build-cleanup
Browse files Browse the repository at this point in the history
Only `RunAntScript` tasks depend on `:downloadJbr`
  • Loading branch information
sergej-koscejev authored Sep 3, 2024
2 parents 4b3a10a + d569fb4 commit 9a0d6e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import de.itemis.mps.gradle.GitBasedVersioning
import de.itemis.mps.gradle.RunAntScript


plugins {
Expand Down Expand Up @@ -156,7 +157,7 @@ subprojects {
println "Local build detected. mbeddr version $ext.mbeddrBuildNumber, mbeddr platform version $ext.mbeddrPlatformBuildNumber"
}

tasks.configureEach( task -> { task.dependsOn(':downloadJbr') })
tasks.withType(RunAntScript).configureEach(task -> { task.dependsOn(':downloadJbr') })

}
}

0 comments on commit 9a0d6e9

Please sign in to comment.