Comments (18)
I want also to point out that in my project I don't have Kotlin
from convalida.
The Travis CI build has been failed. I'm working on it...
from convalida.
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.
Try it now:
compile 'com.github.WellingtonCosta:convalida:1.3.5'
annotationProcessor 'com.github.WellingtonCosta.convalida:convalida-compiler:1.3.5'
from convalida.
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.
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.
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.
What is your Java version?
from convalida.
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.
This is very stranger... In the sample module I used the same compileOptions
and it works fine.
from convalida.
I tried multiple things but nothing worked so far. Googling the error didn't reveal much information about possible causes
from convalida.
Ok... I will rewrite Java 8 code to Java 7 code to avoid these incompatibilities, right?
from convalida.
I guess that could be the thing. I looked at Butterknife and they're still at Java 7 as well
from convalida.
I also think this...
I'm releasing a development release for test...
from convalida.
Ok, try it now:
implementation 'com.github.WellingtonCosta.convalida:convalida:e1cab0a25b'
annotationProcessor 'com.github.WellingtonCosta.convalida:convalida-compiler:e1cab0a25b'
from convalida.
Yeah this works
from convalida.
Nice! I will release the 1.3.7 version. Thank you for the help! :)
from convalida.
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)
- Anko support HOT 2
- CPF validation HOT 3
- Validate difference between fields HOT 1
- CEP/ POSTAL code validation HOT 1
- A validation for numeric value limit HOT 2
- Validation for credit card number HOT 1
- Not require validation when field is blank HOT 2
- annotationProcesso HOT 1
- Update docs HOT 9
- Support AndroidX packages HOT 1
- Support to apply validations using a Kotlin DSL HOT 1
- Get invalid fields in OnValidationError method. HOT 1
- Move artifacts from Jitpack to Maven Central or Bintray. HOT 1
- Implement validation for Spinner.
- Remove "Validation" suffix from all annotations and bindings. HOT 8
- Add parameter to receive error message as pure string value in all validations. HOT 1
- Implement validation for ISBN. HOT 1
- Implement CNPJ validation HOT 2
- validation on fragment is not working after back pressed HOT 9
- Kotlin compiler Null Pointer exception HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from convalida.