Git Product home page Git Product logo

Comments (18)

emanuelet avatar emanuelet commented on July 20, 2024

I want also to point out that in my project I don't have Kotlin

from convalida.

wellingtoncosta avatar wellingtoncosta commented on July 20, 2024

The Travis CI build has been failed. I'm working on it...

from convalida.

wellingtoncosta avatar wellingtoncosta commented on July 20, 2024

Good news!

I fixed the build problem. The build error is due some mistake between Travis CI and Android 27 (more details here).

I'm releasing a new version...

from convalida.

wellingtoncosta avatar wellingtoncosta commented on July 20, 2024

Try it now:

compile 'com.github.WellingtonCosta:convalida:1.3.5'
annotationProcessor 'com.github.WellingtonCosta.convalida:convalida-compiler:1.3.5'

from convalida.

emanuelet avatar emanuelet commented on July 20, 2024

It now comes up with the error:

Error:Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.github.WellingtonCosta:convalida-annotations:1.3.5.

I saw in the commit where you converted the code from Kotlin to Java that you removed these lines from the build.gradle of convalida-annotations and convalida-compiler

-apply plugin: 'maven'	
-group = 'com.github.WellingtonCosta'

I have to assume that those were responsible for packaging the dependency with the rest.

from convalida.

wellingtoncosta avatar wellingtoncosta commented on July 20, 2024

Hi, @emanuelet

I fixed a lot of issues and released a new version. Please, try it.

compile 'com.github.WellingtonCosta:convalida:1.3.6'
annotationProcessor 'com.github.WellingtonCosta.convalida:convalida-compiler:1.3.6'

Just, thanks for the help!

from convalida.

emanuelet avatar emanuelet commented on July 20, 2024

I'm still getting the same error that I got with 1.3.4.
If I have to interpret the error it appears that is not able to use the lambda inside the parseValidateOnClick at this line.

Could it maybe be an incompatibility with Java 8?

from convalida.

wellingtoncosta avatar wellingtoncosta commented on July 20, 2024

What is your Java version?

from convalida.

emanuelet avatar emanuelet commented on July 20, 2024

In theory I'm using Java 8 as well.

I have this in my build.gradle

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

from convalida.

wellingtoncosta avatar wellingtoncosta commented on July 20, 2024

This is very stranger... In the sample module I used the same compileOptions and it works fine.

from convalida.

emanuelet avatar emanuelet commented on July 20, 2024

I tried multiple things but nothing worked so far. Googling the error didn't reveal much information about possible causes

from convalida.

wellingtoncosta avatar wellingtoncosta commented on July 20, 2024

Ok... I will rewrite Java 8 code to Java 7 code to avoid these incompatibilities, right?

from convalida.

emanuelet avatar emanuelet commented on July 20, 2024

I guess that could be the thing. I looked at Butterknife and they're still at Java 7 as well

from convalida.

wellingtoncosta avatar wellingtoncosta commented on July 20, 2024

I also think this...

I'm releasing a development release for test...

from convalida.

wellingtoncosta avatar wellingtoncosta commented on July 20, 2024

Ok, try it now:

implementation 'com.github.WellingtonCosta.convalida:convalida:e1cab0a25b'
annotationProcessor 'com.github.WellingtonCosta.convalida:convalida-compiler:e1cab0a25b'

from convalida.

emanuelet avatar emanuelet commented on July 20, 2024

Yeah this works

from convalida.

wellingtoncosta avatar wellingtoncosta commented on July 20, 2024

Nice! I will release the 1.3.7 version. Thank you for the help! :)

from convalida.

wellingtoncosta avatar wellingtoncosta commented on July 20, 2024

Done!

implementation 'com.github.WellingtonCosta.convalida:convalida:1.3.7'
annotationProcessor 'com.github.WellingtonCosta.convalida:convalida-compiler:1.3.7'

from convalida.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.