David Liu

update protobuf version

... ... @@ -40,6 +40,7 @@ ext {
versions = [
androidx_core: "1.2.0",
dagger : "2.27",
protobuf : "3.15.1",
]
generated = [
protoSrc: "$projectDir/../livekit-server/proto",
... ...
... ... @@ -38,23 +38,14 @@ android {
protobuf {
protoc {
// You still need protoc like in the non-Android case
artifact = 'com.google.protobuf:protoc:3.0.0'
}
plugins {
javalite {
// The codegen for lite comes as a separate artifact
artifact = 'com.google.protobuf:protoc-gen-javalite:3.0.0'
}
artifact = "com.google.protobuf:protoc:${versions.protobuf}"
}
generateProtoTasks {
all().each { task ->
task.builtins {
// In most cases you don't need the full Java output
// if you use the lite output.
remove java
java {
option "lite"
}
task.plugins {
javalite {}
}
}
}
... ... @@ -66,7 +57,7 @@ dependencies {
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.2'
implementation 'org.webrtc:google-webrtc:1.0.32006'
implementation "com.squareup.okhttp3:okhttp:4.9.0"
implementation 'com.google.protobuf:protobuf-lite:3.0.1'
implementation "com.google.protobuf:protobuf-javalite:${versions.protobuf}"
implementation 'com.google.dagger:dagger:2.32'
annotationProcessor 'com.google.dagger:dagger-compiler:2.32'
... ...