google/protobuf-gradle-plugin

Improve Documentation for Android Kotlin DSL for protobuf-javalite

Open

#518 geöffnet am 21. Aug. 2021

Auf GitHub ansehen
 (9 Kommentare) (17 Reaktionen) (0 zugewiesene Personen)Groovy (287 Forks)batch import
documentationhelp wanted

Repository-Metriken

Stars
 (1.832 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide