- P14(W2): inbox archive 종단 상태 보존, GraphQL platform context 누락 경고, fileserver 전이·quota·진행 중 upload 삭제, 알림 profile 소실 재시도·lease fencing·body 읽기 기한, Mongo bulk write concern, Dynamic Target cross-origin 헤더(결정 23), S3 profile CONDITIONAL_RETIREMENT 주장 거부, sample 포스터 abort·reconcile 경합(결정 22) - P17(W3): gRPC 18→9 leaf(registry), .proto는 protobuf Gradle 플러그인 + Buf CI(결정 18), hyeonworks→caskeleton, 인증 식별자 Context 전달, 한계값 정합 검사, P5-new-2·3 결함 수정 - 오케스트레이터: 현황표 적용(완료 395·남음 359), 새 결함 행 9개, capability-status 「제거된 코드」 17행, 계획서 Wave 3 상세 Task, by_area.py NEW-15+ KeyError 수정 검증: ./gradlew check architectureCheck verifyDependencyLocks --continue 통과(597 task), ./gradlew -p optional-platforms ci 통과, CapabilityStatusDocumentTest 통과 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
48 lines
1.9 KiB
Groovy
48 lines
1.9 KiB
Groovy
plugins {
|
|
id 'ca.platform-module'
|
|
alias(libs.plugins.protobuf)
|
|
}
|
|
|
|
// The Stable schema: the `.proto` sources under src/main/proto and the Java that protoc generates
|
|
// from them.
|
|
//
|
|
// protoc, not a hand-written parser, decides whether the schema is valid, and Buf (buf.yaml next to
|
|
// this file) owns lint and breaking-change policy. Buf runs in CI — `.github/workflows/
|
|
// ci-quality-gates.yml` job `grpc-proto-buf` — because it is a native binary and not a Maven
|
|
// artifact; this build does not re-implement its rules. Until 2026-09-28 this leaf was
|
|
// grpc-proto-contract + grpc-codegen, which did both with regular expressions (owner decision 18).
|
|
//
|
|
// Generated code lands under build/, in the package each file's `java_package` names
|
|
// (`caskeleton.*.generated`), which is disjoint from the hand-written `dev.caskeleton` root.
|
|
// Messages only: the schema declares no service yet, so there is no grpc-java stub to generate.
|
|
dependencies {
|
|
// api: every generated message extends com.google.protobuf.GeneratedMessageV3.
|
|
api libs.protobuf.java.grpc
|
|
}
|
|
|
|
protobuf {
|
|
protoc {
|
|
artifact = libs.protoc.get().toString()
|
|
}
|
|
}
|
|
|
|
// The plugin resolves protoc through a configuration it creates when generateProto runs, after
|
|
// resolveAndLockAll has taken its snapshot. The coordinate is an exact catalog version (libs.protoc),
|
|
// so a lock entry would restate it; locking is switched off for that tool locator only.
|
|
configurations.matching { it.name.startsWith('protobufToolsLocator_') }.configureEach {
|
|
resolutionStrategy.deactivateDependencyLocking()
|
|
}
|
|
|
|
// Generated sources answer to protoc, not to the repository's formatter, lint or bug patterns.
|
|
spotless {
|
|
java {
|
|
target 'src/*/java/**/*.java'
|
|
}
|
|
}
|
|
tasks.named('checkstyleMain') {
|
|
exclude '**/generated/**'
|
|
}
|
|
tasks.withType(JavaCompile).configureEach {
|
|
options.errorprone.excludedPaths = '.*/build/generated/.*'
|
|
}
|