Skip to content

Commit ce9689b

Browse files
detected new plugin versions
1 parent 2e15437 commit ce9689b

6 files changed

Lines changed: 131 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
*
2+
!Dockerfile
3+
!pom.xml
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# syntax=docker/dockerfile:1.23
2+
FROM debian:trixie-20260505@sha256:e2d08da6f42ef4b09b165d55528a12727aeed8240dc9edf888e3ec07e10ef9da AS build
3+
4+
RUN apt-get update \
5+
&& apt-get install -y curl
6+
WORKDIR /app
7+
RUN curl -fsSL -o /app/protoc-gen-connect-kotlin.jar https://repo1.maven.org/maven2/com/connectrpc/protoc-gen-connect-kotlin/0.8.2/protoc-gen-connect-kotlin-0.8.2.jar
8+
9+
FROM gcr.io/distroless/java25-debian13:latest@sha256:583ba2e08558063002bd1b5874a81b33b7204a0ad46727d4b6cbeff5a25935ba as base
10+
11+
FROM maven:3.9.11-eclipse-temurin-21 AS maven-deps
12+
COPY pom.xml /tmp/pom.xml
13+
RUN cd /tmp && mvn -f pom.xml dependency:go-offline
14+
15+
FROM scratch
16+
COPY --from=base --link / /
17+
COPY --from=build --link --chmod=0755 --chown=root:root /app/protoc-gen-connect-kotlin.jar .
18+
COPY --from=maven-deps /root/.m2/repository /maven-repository
19+
USER nobody
20+
ENTRYPOINT [ "/usr/bin/java", "-jar", "/protoc-gen-connect-kotlin.jar"]
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
version: v1
2+
name: buf.build/connectrpc/kotlin
3+
plugin_version: v0.8.2
4+
source_url: https://github.com/connectrpc/connect-kotlin
5+
integration_guide_url: https://connectrpc.com/docs/kotlin/getting-started
6+
description: Idiomatic gRPC & Connect RPCs for Kotlin.
7+
deps:
8+
- plugin: buf.build/protocolbuffers/kotlin:v35.0
9+
output_languages:
10+
- kotlin
11+
spdx_license_id: Apache-2.0
12+
license_url: https://github.com/connectrpc/connect-kotlin/blob/v0.8.2/LICENSE
13+
registry:
14+
opts:
15+
- generateCallbackMethods=true
16+
maven:
17+
compiler:
18+
kotlin:
19+
api_version: "2.1"
20+
version: "2.2.21"
21+
deps:
22+
- com.connectrpc:connect-kotlin:0.8.2
23+
- com.connectrpc:connect-kotlin-google-java-ext:0.8.2
24+
- com.connectrpc:connect-kotlin-okhttp:0.8.2
25+
additional_runtimes:
26+
- name: lite
27+
deps:
28+
- com.connectrpc:connect-kotlin:0.8.2
29+
- com.connectrpc:connect-kotlin-google-javalite-ext:0.8.2
30+
- com.connectrpc:connect-kotlin-okhttp:0.8.2
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
<project>
2+
<modelVersion>4.0.0</modelVersion>
3+
<groupId>temp</groupId>
4+
<artifactId>temp</artifactId>
5+
<version>1.0</version>
6+
<dependencies>
7+
<dependency>
8+
<groupId>com.connectrpc</groupId>
9+
<artifactId>connect-kotlin</artifactId>
10+
<version>0.8.2</version>
11+
</dependency>
12+
<dependency>
13+
<groupId>com.connectrpc</groupId>
14+
<artifactId>connect-kotlin-google-java-ext</artifactId>
15+
<version>0.8.2</version>
16+
</dependency>
17+
<dependency>
18+
<groupId>com.connectrpc</groupId>
19+
<artifactId>connect-kotlin-okhttp</artifactId>
20+
<version>0.8.2</version>
21+
</dependency>
22+
<dependency>
23+
<groupId>com.google.protobuf</groupId>
24+
<artifactId>protobuf-kotlin</artifactId>
25+
<version>4.35.0</version>
26+
</dependency>
27+
<dependency>
28+
<groupId>org.jetbrains.kotlin</groupId>
29+
<artifactId>kotlin-stdlib</artifactId>
30+
<version>2.2.21</version>
31+
</dependency>
32+
<dependency>
33+
<groupId>org.jetbrains.kotlin</groupId>
34+
<artifactId>kotlin-stdlib-jdk8</artifactId>
35+
<version>2.2.21</version>
36+
</dependency>
37+
<dependency>
38+
<groupId>com.google.protobuf</groupId>
39+
<artifactId>protobuf-java</artifactId>
40+
<version>4.35.0</version>
41+
</dependency>
42+
<!-- lite -->
43+
<dependency>
44+
<groupId>com.connectrpc</groupId>
45+
<artifactId>connect-kotlin-google-javalite-ext</artifactId>
46+
<version>0.8.2</version>
47+
</dependency>
48+
<dependency>
49+
<groupId>com.google.protobuf</groupId>
50+
<artifactId>protobuf-kotlin-lite</artifactId>
51+
<version>4.35.0</version>
52+
</dependency>
53+
<dependency>
54+
<groupId>com.google.protobuf</groupId>
55+
<artifactId>protobuf-javalite</artifactId>
56+
<version>4.35.0</version>
57+
</dependency>
58+
<dependency>
59+
<groupId>build.buf</groupId>
60+
<artifactId>protobuf-javalite</artifactId>
61+
<version>4.35.0</version>
62+
</dependency>
63+
</dependencies>
64+
<build>
65+
<plugins>
66+
<plugin>
67+
<groupId>org.jetbrains.kotlin</groupId>
68+
<artifactId>kotlin-maven-plugin</artifactId>
69+
<version>2.2.21</version>
70+
<configuration>
71+
<apiVersion>2.1</apiVersion>
72+
</configuration>
73+
</plugin>
74+
</plugins>
75+
</build>
76+
</project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:jZozX+zN6UUwiUu38R4IG3BD2PFi7novwzYovV5V5mY=
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:qI/BZM1TvMxo1xA+W5Y+h5jGfuIHe2aFsVRriNpB/3M=

0 commit comments

Comments
 (0)