Skip to content

Instantly share code, notes, and snippets.

@vslala
Created March 6, 2018 07:46
Show Gist options
  • Select an option

  • Save vslala/5cb0004b23ba72f035988285afced50d to your computer and use it in GitHub Desktop.

Select an option

Save vslala/5cb0004b23ba72f035988285afced50d to your computer and use it in GitHub Desktop.
JWT Implementation Demo Gradle Dependencies
// Apply the java-library plugin to add support for Java Library
apply plugin: 'java-library'
// In this section you declare where to find the dependencies of your project
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web:1.5.10.RELEASE")
compile group: 'io.jsonwebtoken', name: 'jjwt', version: '0.9.0'
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.0'
// Use JUnit test framework
testImplementation 'junit:junit:4.12'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment