Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Consumer proguard rules, javadoc artifact #143

Merged
merged 3 commits into from
Jul 27, 2017
Merged

Conversation

samtstern
Copy link
Contributor

Fix #137
Fix #123

  Fix #137
  Fix #123

Change-Id: Ifb77a4903a85614e8bd153b99039395162c6d1a4
#}
-keepclassmembers class * {
@pub.devrel.easypermissions.AfterPermissionGranted <methods>;
}
Copy link
Contributor

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' }
Copy link
Contributor

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()?

Copy link
Contributor Author

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 :-)

Copy link
Contributor

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
Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

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) {
Copy link
Contributor

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.

Copy link
Contributor Author

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
@samtstern samtstern merged commit 08c8e6c into master Jul 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants