Skip to content
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

Can't use proguard.cfg file name is used as appendCfgFile in build.gradle #123

Open
kisg opened this issue Nov 10, 2017 · 0 comments
Open

Comments

@kisg
Copy link
Contributor

kisg commented Nov 10, 2017

proguard.cfg filename has a special meaning in our Gradle plugin, it replaces the whole Gradle configuration with its content.

While this behavior is documented, it can get confusing if someone is using this filename in build.gradle to append the configuration:

    moeMainProGuard {
        appendCfgFile "proguard.cfg"
    }

The Gradle plugin should handle this special case gracefully (e.g. throwing an error, or changing the behavior to append only). We should also document this special case in the Gradle docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant