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

Library does not compile #3

Closed
vicpinm opened this issue Sep 4, 2017 · 4 comments
Closed

Library does not compile #3

vicpinm opened this issue Sep 4, 2017 · 4 comments
Assignees

Comments

@vicpinm
Copy link

vicpinm commented Sep 4, 2017

Is needed any special configuration with your library? It does not compile when I add the dependency to my project:

image

@kevalpatel2106
Copy link
Owner

kevalpatel2106 commented Sep 4, 2017

@vicpinm This library is compiled with Java 8. So you need to make your project use Java 8. Add below lines to your module level build.gradle.

compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

@AdeelTariq
Copy link

@kevalpatel2106 I think this only works in Android studio versions 3.0 which is still in beta. Also as a side note are there any pro-guard settings needed for this library?

@kevalpatel2106
Copy link
Owner

@AdeelTariq Yes, Java 8 is currently supported in AS 3.0 only. I used some lambda expressions in the library. I will try to make library working on Java 7. Stay tuned for the upcoming release.
Also, proguard configurations are added inside the library itself. No need to add it manually.

@kevalpatel2106
Copy link
Owner

@vicpinm @AdeelTariq Java 7 support added in v1.1.

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

No branches or pull requests

3 participants