alex.tavella
07/27/2021, 4:41 PM[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.
protobuf {
protoc {
artifact = 'com.google.protobuf:protoc:3.8.0'
}
generateProtoTasks {
all().each { task ->
task.builtins {
java {
option "lite"
}
}
}
}
}
alex.tavella
07/28/2021, 1:16 PM