google/protobuf-gradle-plugin

Improve Documentation for Android Kotlin DSL for protobuf-javalite

Open

#518 ouverte le 21 août 2021

Voir sur GitHub
 (9 commentaires) (17 réactions) (0 assignés)Groovy (287 forks)batch import
documentationhelp wanted

Métriques du dépôt

Stars
 (1 832 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

I'm having issue converting these gradle groovy code to kotlin dsl.

protobuf {
  protoc {
    artifact = 'com.google.protobuf:protoc:3.8.0'
  }
  generateProtoTasks {
    all().each { task ->
      task.builtins {
        java {
          option "lite"
        }
      }
    }
  }
}

Especially the option "lite" in java block.

Thanks.

Guide contributeur