24 lines
899 B
Groovy
24 lines
899 B
Groovy
ext.sourceRevision = providers.gradleProperty('gitRevision')
|
|
.orElse(providers.environmentVariable('GIT_SHA'))
|
|
.orElse(providers.environmentVariable('GITHUB_SHA'))
|
|
.getOrElse('unknown')
|
|
|
|
tasks.register('checkAll') {
|
|
group = 'verification'
|
|
description = 'Runs every gRPC optional-platform leaf check.'
|
|
dependsOn subprojects.findAll { it.childProjects.isEmpty() }.collect { "${it.path}:check" }
|
|
}
|
|
|
|
tasks.register('qualityCheck') {
|
|
group = 'verification'
|
|
description = 'Runs production-bytecode static analysis for every optional-platform leaf.'
|
|
dependsOn subprojects.findAll { it.childProjects.isEmpty() }.collect { "${it.path}:qualityCheck" }
|
|
}
|
|
|
|
tasks.register('ci') {
|
|
group = 'verification'
|
|
description = 'Runs the optional gRPC platform verification surface.'
|
|
dependsOn tasks.named('checkAll')
|
|
dependsOn tasks.named('qualityCheck')
|
|
}
|