-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support packaging and extracting protos in Android aar #440
Support packaging and extracting protos in Android aar #440
Conversation
731817f
to
321e0a2
Compare
protobuf-gradle-plugin/src/main/groovy/com/google/protobuf/gradle/ProtobufPlugin.groovy Lines 403 to 423 in 7f96483
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How hard would it be to have a test?
Yep, that's something still under consideration. |
…o bugfix/package_and_extract_proto_in_aar
I found a solution for tests to cover extracting protos from Jar/Aar built with project dependencies: We can change
to
which mutates the attributes of the project dependency and changes its By turning on the log, you can see the difference for
vs
Ideally we can keep both test cases (if not too verbose) as one covers the plugin works for extracting protos from project dependencies built with |
Adds support for packaging proto files into the aar for Android library projects and extracting proto files from aar dependencies.
The CI failure should be fixed by #441.
Fixes #435