google/protobuf-gradle-plugin

Improve Documentation for Android Kotlin DSL for protobuf-javalite

Open

#518 opened on Aug 21, 2021

View on 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.

Contributor guide