Difficulty importing JWT (JSON Web Token) in Spring Boot Gradle project
So I got your problem you should use 0.2 instead of 0.2.0
For gradle 4.10 it would be good to use implementation instead of compile.
implementation('io.jsonwebtoken:jjwt:0.2')