ip696
ip696

Reputation: 7084

Annotation disappeared from the library, which used instead?(saripaar)

I use com.mobsandgeeks.saripaar library in my project. enter link description here

I use @Size annotation. But nuw i sync my gradle and i have error. This annotation disappeared. I checked on githabe - it is not! But My colleague has updated gradle and he has this annotation. We have absolutely the same dependence in gradle. I did not change anything. I tried to clean up and rebuild the project.

maven {
            url "https://oss.sonatype.org/content/repositories/snapshots/"
        }
compile 'com.mobsandgeeks:android-saripaar:2.0-SNAPSHOT'

it really cleaned? I use instead? why it stayed another computer?

Upvotes: 0

Views: 107

Answers (1)

Logain
Logain

Reputation: 4374

The snapshots on that library doesn't seem to be stable (I see only lower versions on their releases). Also, on master, they renamed the Size annotation to Length

So you will be ok if you just change your Size annotation by Length too.

Upvotes: 1

Related Questions