google/protobuf-gradle-plugin

Improve Documentation for Android Kotlin DSL for protobuf-javalite

Open

#518 opened on 2021年8月21日

GitHub で見る
 (9 comments) (17 reactions) (0 assignees)Groovy (287 forks)batch import
documentationhelp wanted

Repository metrics

Stars
 (1,832 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド