Skip to content

Commit ffec382

Browse files
Add connect-kotlin plugin (#371)
https://github.com/bufbuild/connect-kotlin --------- Co-authored-by: Philip K. Warren <pwarren@buf.build> Co-authored-by: Philip K. Warren <pkwarren@users.noreply.github.com>
1 parent d73fd0a commit ffec382

File tree

7 files changed

+32
-0
lines changed

7 files changed

+32
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!Dockerfile
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
source:
2+
github:
3+
owner: bufbuild
4+
repository: connect-kotlin
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!Dockerfile
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# syntax=docker/dockerfile:1.4
2+
FROM gradle:7.4.0-jdk17 AS build
3+
WORKDIR /app
4+
RUN git clone --depth 1 --branch v0.1.1 https://github.com/bufbuild/connect-kotlin.git
5+
WORKDIR /app/connect-kotlin
6+
RUN gradle --no-daemon -g $(pwd) protoc-gen-connect-kotlin:jar
7+
8+
FROM gcr.io/distroless/java17-debian11
9+
WORKDIR /app
10+
COPY --from=build /app/connect-kotlin/protoc-gen-connect-kotlin/build/libs/protoc-gen-connect-kotlin.jar /app
11+
CMD ["/app/protoc-gen-connect-kotlin.jar"]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: v1
2+
name: buf.build/bufbuild/connect-kotlin
3+
plugin_version: v0.1.1
4+
source_url: https://github.com/bufbuild/connect-kotlin
5+
description: Idiomatic gRPC & Connect RPCs for Kotlin.
6+
deps:
7+
- plugin: buf.build/protocolbuffers/java:v21.12
8+
output_languages:
9+
- kotlin
10+
spdx_license_id: Apache-2.0
11+
license_url: https://github.com/bufbuild/connect-kotlin/blob/v0.1.1/LICENSE
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:FI2MrUOiuLhuiCRRKun/ZfbRS8icI66PfHVvL0+qe6M=
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
h1:dEgosZqAS6OH6/YNlonq7Lvp0tdvMu4gK9FZqkSyYGw=

0 commit comments

Comments
 (0)