Skip to content

How can I generate Kotlin code instead of Java code ?  #132

@aalexsanyan

Description

@aalexsanyan

I am new to Protobuf and the project I am working on is using Protobuf and it is generating to java.
Now I want to change it to Kotlin .
Would you mind to help to change it ,so I can make it generate Kotlin code

protobuf {
    protoc {
        artifact = 'com.google.protobuf:protoc:3.0.0'
    }
    plugins {
        javalite {
            artifact = 'com.google.protobuf:protoc-gen-javalite:3.0.0'
        }
    }
}

dependencies {
    api('com.google.protobuf:protobuf-lite:3.0.1')
}
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions