-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implementing obfuscated com.google.protobuf so there are no name conf…
…licts
- Loading branch information
Showing
7 changed files
with
53 additions
and
64 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# I want to keep everything but com.google.protobuf... So I keep the head of the other two packages. | ||
# Luckily, what I'm building is small | ||
-keep class org.** { *; } | ||
-keep class ProtoDefs.** { *; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
#!/bin/bash | ||
protoc --java_out=lite:app/src/main/java app/src/log_structure.proto | ||
|
||
gradle build -x lint -x lintVitalRelease | ||
|
||
status=$? | ||
if [ $status -eq 0 ]; | ||
then | ||
echo "Build success" | ||
cp app/build/intermediates/dex/release/mergeDexRelease/classes.dex ../data/logging.dex | ||
cp app/build/intermediates/dex/release/minifyReleaseWithR8/classes.dex ../data/logging.dex | ||
else | ||
echo "Build failure" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters