Skip to content

Commit

Permalink
Fixing protobuf plugin stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamMc331 committed Mar 9, 2023
1 parent b5c6304 commit 6e87f43
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import com.google.protobuf.gradle.builtins
import com.google.protobuf.gradle.generateProtoTasks
import com.google.protobuf.gradle.ofSourceSet
import com.google.protobuf.gradle.id
import com.google.protobuf.gradle.protobuf
import com.google.protobuf.gradle.protoc

Expand Down Expand Up @@ -173,9 +173,9 @@ protobuf {
// https://github.com/google/protobuf-gradle-plugin#customizing-protobuf-compilation
// for more information.
generateProtoTasks {
ofSourceSet("main").forEach { task ->
task.builtins {
getByName("java") {
all().forEach {
it.builtins {
id("java") {
option("lite")
}
}
Expand Down

0 comments on commit 6e87f43

Please sign in to comment.