2025-08-01 17:37:41 +02:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'org.springframework.boot' version '3.5.4'
|
|
|
|
id 'io.spring.dependency-management' version '1.1.7'
|
|
|
|
}
|
|
|
|
|
2025-08-01 18:51:50 +02:00
|
|
|
group = 'com.serena'
|
2025-08-01 17:37:41 +02:00
|
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
|
|
|
|
java {
|
|
|
|
toolchain {
|
|
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
|
|
implementation 'io.jsonwebtoken:jjwt-api:0.12.6'
|
|
|
|
implementation 'io.jsonwebtoken:jjwt-impl:0.12.6'
|
|
|
|
implementation 'io.jsonwebtoken:jjwt-jackson:0.12.6'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
|
|
testImplementation 'org.springframework.security:spring-security-test'
|
|
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.named('test') {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|