23 lines
557 B
Kotlin
23 lines
557 B
Kotlin
/*
|
|
* Examples for Java
|
|
*
|
|
* Copyright (c) 2021. Elex. All Rights Reserved.
|
|
* https://www.elex-project.com/
|
|
*/
|
|
|
|
plugins {
|
|
id("elex-java")
|
|
}
|
|
|
|
dependencies {
|
|
// https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt-api
|
|
implementation("io.jsonwebtoken:jjwt-api:0.12.5")
|
|
|
|
// https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt-impl
|
|
runtimeOnly("io.jsonwebtoken:jjwt-impl:0.12.5")
|
|
runtimeOnly("io.jsonwebtoken:jjwt-jackson:0.12.5")
|
|
|
|
// another library, good for a client side
|
|
implementation("com.auth0:java-jwt:4.4.0")
|
|
}
|