2021-11-22 07:01:01 +01:00
|
|
|
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'
|
2022-01-10 12:11:52 +01:00
|
|
|
|
|
|
|
// Spring security
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
|
|
implementation 'org.springframework.security:spring-security-test'
|
|
|
|
|
|
|
|
// JSON web token
|
|
|
|
implementation 'io.jsonwebtoken:jjwt-api:0.11.2'
|
|
|
|
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.2',
|
|
|
|
// Uncomment the next line if you want to use RSASSA-PSS (PS256, PS384, PS512) algorithms:
|
|
|
|
//'org.bouncycastle:bcprov-jdk15on:1.60',
|
|
|
|
'io.jsonwebtoken:jjwt-jackson:0.11.2' // or 'io.jsonwebtoken:jjwt-gson:0.11.2' for gson
|
2021-11-22 07:01:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|