Skip to content

fix(build): netty 보안 하한이 AGP UTP 설정에 미적용 — 릴리스 PR dependency-review 가 high 8건으로 실패 #1058

Closed

Description

@OnlyReadOneBook

📜 Overview (Required)

#1003 이 #975~#980 을 닫으며 netty 를 4.1.137.Final 로 올렸지만, 하한이 루트 buildscript classpath 에만 걸려 AGP 가 만드는 UTP(Unified Test Platform) 설정 2종은 여전히 구버전을 해석한다. 그 결과 develop 의 dependency snapshot 에 4.1.93.Final·4.1.110.Final 이 남아, 릴리스 PR #1025 의 Review dependency changes 가 high 8건으로 실패한다.

실측 (origin/develop efbb1256c, 전 프로젝트 × 전 configuration 실행 시점 리졸브)

configuration 해석 버전 유입 경로
unified-test-platform-core 4.1.93.Final com.google.testing.platform:core:0.0.9-alpha04 → io.grpc:grpc-netty:1.57.2
unified-test-platform-android-test-plugin-host-emulator-control 4.1.110.Final com.android.tools.emulator:proto:32.2.1 → io.grpc:grpc-netty:1.69.1
루트 buildscript.classpath 4.1.137.Final BOM 핀 정상 동작
  • netty 해석 총 584건 중 572건이 UTP 경유 구버전 (26개 안드로이드 모듈 × netty 모듈 11종), 12건만 루트 classpath 의 4.1.137.
  • dependency-review 가 high 로 잡는 8건: netty-codec·netty-codec-http·netty-codec-http2·netty-handler 의 4.1.93·4.1.110.

수정 방향

build.gradle.kts 의 securityFloors 목록에 netty 11개 모듈을 평범한 constraint 로 추가한다. #1003 주석이 우려한 «AGP 의 android-reverse-meta-data usage 가 platform 변형을 못 찾아 리졸브가 깨진다» 는 platform() BOM 에만 해당하는 제약이다 — 로컬 실측에서 constraint 방식은 584건 전부 4.1.137.Final 로 정렬되고 리졸브 오류 0건이었다.

📌 Child Issue(Optional)

No response

📍 Note (Optional)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions