34 lines
846 B
Groovy
34 lines
846 B
Groovy
|
plugins {
|
||
|
id 'java'
|
||
|
id 'org.springframework.boot' version '3.5.4'
|
||
|
id 'io.spring.dependency-management' version '1.1.7'
|
||
|
}
|
||
|
|
||
|
group = 'com.hackathon'
|
||
|
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()
|
||
|
}
|