29 lines
700 B
Groovy
29 lines
700 B
Groovy
plugins {
|
|
id 'org.springframework.boot' version '2.5.6'
|
|
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
|
|
id 'java'
|
|
}
|
|
|
|
group = 'com.vpr'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = '11'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
runtimeOnly 'mysql:mysql-connector-java'
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
|
|
// JSON web token
|
|
implementation 'io.jsonwebtoken:jjwt-api:0.11.2'
|
|
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.2',
|
|
'io.jsonwebtoken:jjwt-jackson:0.11.2'
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
} |