Skip to content

Commit

Permalink
Update connectrpc/kotlin to v0.7.2 (#1656)
Browse files Browse the repository at this point in the history
  • Loading branch information
app-token-plugins[bot] authored Jan 8, 2025
1 parent 59e76c5 commit 1ba70d3
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/connectrpc/kotlin/v0.7.2/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!Dockerfile
15 changes: 15 additions & 0 deletions plugins/connectrpc/kotlin/v0.7.2/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# syntax=docker/dockerfile:1.12
FROM debian:bookworm-20241223 AS build

RUN apt-get update \
&& apt-get install -y curl
WORKDIR /app
RUN curl -fsSL -o /app/protoc-gen-connect-kotlin.jar https://repo1.maven.org/maven2/com/connectrpc/protoc-gen-connect-kotlin/0.7.2/protoc-gen-connect-kotlin-0.7.2.jar

FROM gcr.io/distroless/java21-debian12:latest@sha256:903d5ad227a4afff8a207cd25c580ed059cc4006bb390eae65fb0361fc9724c3 as base

FROM scratch
COPY --from=base --link / /
COPY --from=build --link --chmod=0755 --chown=root:root /app/protoc-gen-connect-kotlin.jar .
USER nobody
ENTRYPOINT [ "/usr/bin/java", "-jar", "/protoc-gen-connect-kotlin.jar"]
29 changes: 29 additions & 0 deletions plugins/connectrpc/kotlin/v0.7.2/buf.plugin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
version: v1
name: buf.build/connectrpc/kotlin
plugin_version: v0.7.2
source_url: https://github.com/connectrpc/connect-kotlin
integration_guide_url: https://connectrpc.com/docs/kotlin/getting-started
description: Idiomatic gRPC & Connect RPCs for Kotlin.
deps:
- plugin: buf.build/protocolbuffers/kotlin:v29.2
output_languages:
- kotlin
spdx_license_id: Apache-2.0
license_url: https://github.com/connectrpc/connect-kotlin/blob/v0.7.2/LICENSE
registry:
opts:
- generateCallbackMethods=true
maven:
compiler:
kotlin:
version: 1.8.22
deps:
- com.connectrpc:connect-kotlin:0.7.2
- com.connectrpc:connect-kotlin-google-java-ext:0.7.2
- com.connectrpc:connect-kotlin-okhttp:0.7.2
additional_runtimes:
- name: lite
deps:
- com.connectrpc:connect-kotlin:0.7.2
- com.connectrpc:connect-kotlin-google-javalite-ext:0.7.2
- com.connectrpc:connect-kotlin-okhttp:0.7.2
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:jZozX+zN6UUwiUu38R4IG3BD2PFi7novwzYovV5V5mY=
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
h1:qI/BZM1TvMxo1xA+W5Y+h5jGfuIHe2aFsVRriNpB/3M=

0 comments on commit 1ba70d3

Please sign in to comment.