google/protobuf-gradle-plugin

Improve Documentation for Android Kotlin DSL for protobuf-javalite

Open

#518 aberto em 21 de ago. de 2021

Ver no GitHub
 (9 comments) (17 reactions) (0 assignees)Groovy (1.832 stars) (287 forks)batch import
documentationhelp wanted

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.

Guia do colaborador