Skip Proto file Binding classes generation if already present in AAR file or any other source
I have one AAR file added inside the libs directory in Android Studio project. I have added a proto compiler configurations inside the build.gradle
file. I am trying to add a proto file inside the app module under src/main/proto
directory. The AAR file contains the binding classes only for the same proto file added under the src/main/proto
directory. The AAR file does not contain any proto files. After building a project I am getting error as
R8: Type MyClassGrpcKt$PersistentLoggerCoroutineStub$disable$1 is defined multiple times: