square / square/wire

support kotlin generation in the maven plugin

Open
#953 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature lang/kotlin
Dominant language
Kotlin
Stars
4.4k
Forks
627
Avg merge
3d 15m
Merged PRs (30d)
20

Description

In Zipkin, we are starting to use Wire, initially in tests, but perhaps more places over time. It would be nice to be able to generate Kotlin as we are rewriting our server code in Kotlin.

We would like to be able to do this even if we use Maven as our build tool.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Maven plugin and its existing source-generation configuration, then trace how the plugin selects generated languages. Confirm how Kotlin generation is supported elsewhere in Wire before defining the Maven-facing change. Done means the Maven plugin can generate Kotlin output for a representative Wire input and its relevant checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.