Skip to content

Commit

Permalink
all boo compilation tasks depend on the boo configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
bamboo committed Dec 3, 2012
1 parent af7c69d commit b76bc61
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build.gradle
Expand Up @@ -81,10 +81,12 @@ project(':UnityScript.Tests') {
}
}

task bundle(type: Zip) {
from projectDir
include 'README.md'
include 'license.txt'
def allCompileTasks = subprojects.collectMany { it.tasks }.findAll { it.name.startsWith('compile') }
def booCompileTasks = allCompileTasks.findAll { it.assembly.language == 'boo' }
booCompileTasks.each {
logger.info "Configuring boo dependencies on $it"
it.dependsOn rootProject.configurations.boo
it.dependsOn rootProject.tasks.updateBoo
}

task publish {
Expand Down

0 comments on commit b76bc61

Please sign in to comment.