def samples = ['js']

task build {
    samples.forEach { projectName ->
        dependsOn gradle.includedBuild(projectName).task(':build')
    }
}

task clean {
    samples.forEach { projectName ->
        dependsOn gradle.includedBuild(projectName).task(':clean')
    }
}

task cleanAtrium {
    dependsOn gradle.includedBuild('atrium').task(':clean')
}
