Skip to content

Commit 1941990

Browse files
committed
Fix protobuf script - only override protobuf-java
- Keep protobuf-bom to ensure protoc tools are available - Don't touch protobuf-java-util, let BOM manage it - Only customize protobuf-java runtime with unsafe disabled
1 parent ebf4aad commit 1941990

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

.github/unsafe/build-custom-protobuf.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ mvn install:install-file -q \
4343

4444
# Update dependencies
4545
DEPS="${SCRIPT_DIR}/../../dependencyManagement/build.gradle.kts"
46-
sed -i '/com\.google\.protobuf:protobuf-bom:/d' "${DEPS}"
4746
sed -i '/com\.google\.protobuf:protobuf-java/d' "${DEPS}"
4847
sed -i '/^val DEPENDENCIES = listOf(/a\ "com.google.protobuf:protobuf-java:'"${CUSTOM_VERSION}"'",' "${DEPS}"
49-
sed -i '/^val DEPENDENCIES = listOf(/a\ "com.google.protobuf:protobuf-java-util:${ORIGINAL_VERSION}",' "${DEPS}"
5048

5149
echo "protobuf-java ${CUSTOM_VERSION} built and installed (UNSAFE disabled)."

0 commit comments

Comments
 (0)