kevalpatel2106 / EmoticonGIFKeyboard

An advance Emoticons & GIF keyboard.
Apache License 2.0
270 stars 54 forks source link

Library does not compile #3

Closed vicpinm closed 7 years ago

vicpinm commented 7 years ago

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

image

kevalpatel2106 commented 7 years ago

@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 commented 7 years ago

@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 commented 7 years ago

@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 commented 7 years ago

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