-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Consumer proguard rules, javadoc artifact #143
Conversation
#} | ||
-keepclassmembers class * { | ||
@pub.devrel.easypermissions.AfterPermissionGranted <methods>; | ||
} |
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.
nit: add a new line at the bottom of the file
@@ -1,11 +1,11 @@ | |||
buildscript { | |||
repositories { | |||
jcenter() | |||
google() | |||
maven { url 'https://maven.google.com' } |
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.
@samtstern Any reason we added the more verbose version of the repo instead of keeping google()
?
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.
Because when I use google()
my build fails and I didn't feel like figuring out why :-)
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.
Haha, SGTM 😄
@@ -16,7 +16,7 @@ android { | |||
|
|||
buildTypes { | |||
release { | |||
minifyEnabled false | |||
minifyEnabled true |
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.
I don't think we should deliver a proguarded version of the library. It personal drives me insane if I can't Ctrl + B
a method and get the uncompiled/unobfuscated raw source code.
We have minifyEnabled false
in FirebaseUI with a consumerProguardFile
so the dev can decide to obfuscate their app if they want, but still develop it with the library source code.
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.
This is the app, not the library.
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.
Oh lol. Oops! 😄
@@ -39,6 +39,18 @@ task sourcesJar(type: Jar) { | |||
classifier = 'sources' | |||
} | |||
|
|||
task javadoc(type: Javadoc) { |
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.
I think we need to add failOnError = false
for the build to work.
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.
Yep! Gonna see if I can actually fix the errors first and then add this.
Change-Id: Ib93ab20fe96ff86e53c0ee931b4b8736f44121e2
Change-Id: I6e02227733b693697dd9397f52f3dae2453239ad
Fix #137
Fix #123