36 lines
1.0 KiB
Groovy
36 lines
1.0 KiB
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'
|
|
|
|
// 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
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|