plugins { id 'ca.architecture' } // No `ca.release-provenance` any more: each gRPC leaf's `ca.java-conventions` derives its version // and `sourceRevision` from the same -PreleaseVersion/-PgitRevision (GIT_SHA, GITHUB_SHA) inputs the // main build reads, so one commit produces one version scheme in both builds (review BUILD-O3-5). tasks.register('resolveAndLockAll') { group = 'build setup' description = 'Regenerates dependency locks for every optional gRPC leaf (requires --write-locks).' dependsOn subprojects.findAll { it.childProjects.isEmpty() }.collect { "${it.path}:resolveAndLockAll" } } 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') // architectureCheck, not only the direction gate: it also runs verifyNoIgnoredSourcePackages, so // a gRPC source Git would drop fails this build's ci the way it fails the main build's. dependsOn tasks.named('architectureCheck') } // A strict integration lane that no workflow invokes is not coverage; it is a file that looks like // coverage. `grpc-operation-ledger-jpa` declares a Testcontainers PostgreSQL lane that certifies the // atomic `INSERT ... ON CONFLICT DO NOTHING` claim the whole durable-idempotency contract rests on, // and until this aggregate existed `ci` reached `checkAll`, `qualityCheck` and the dependency // verifier only — none of which runs a lane whose category is INTEGRATION. // // Kept out of `ci`: every lane here starts a container, and `ci` is the per-PR gate for this build. // The caller is integration-main.yml, the stage that owns container-backed lanes. tasks.register('integrationCheck') { group = 'verification' description = 'Runs every optional-platform leaf integration test lane. Needs a container runtime.' dependsOn subprojects.findAll { it.childProjects.isEmpty() }.collect { "${it.path}:integrationTestLaneCheck" } }