`[Jetpack Proto DataStore]` Is there any option to...
# android
a
[Jetpack Proto DataStore]
Is there any option to generate kotlin instead of Java-lite on the gradle plugin? The java option does not use nullable annotation so I find it a bit error-prone to consume from kotlin for new devs.
Copy code
protobuf {
  protoc {
    artifact = 'com.google.protobuf:protoc:3.8.0'
  }
  generateProtoTasks {
    all().each { task ->
      task.builtins {
        java {
          option "lite"
        }
      }
    }
  }
}
Just realized I can use Wire for generating kotlin code