Skip to content

Commit

Permalink
Only RunAntScript tasks depend on :downloadJbr
Browse files Browse the repository at this point in the history
Other tasks, such as `clean`, should not.
  • Loading branch information
sergej-koscejev committed Sep 1, 2024
1 parent 4b3a10a commit d569fb4
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 d569fb4

Please sign in to comment.