2024-08-25 20:27:39 +02:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'org.springframework.boot' version '3.3.3'
|
|
|
|
id 'io.spring.dependency-management' version '1.1.6'
|
|
|
|
}
|
|
|
|
|
|
|
|
group = 'com.mixel'
|
|
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
|
|
|
|
java {
|
|
|
|
toolchain {
|
|
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
2024-09-06 20:01:42 +02:00
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
2024-08-30 18:08:13 +02:00
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
2024-09-02 19:34:45 +02:00
|
|
|
// Argon2 password hashing
|
2024-09-02 19:18:02 +02:00
|
|
|
implementation 'org.springframework.security:spring-security-crypto:6.3.3'
|
2024-09-06 20:01:42 +02:00
|
|
|
implementation 'org.bouncycastle:bcprov-jdk18on:1.78.1'
|
2024-09-02 19:34:45 +02:00
|
|
|
|
2024-09-05 23:20:10 +02:00
|
|
|
// Dotenv manager
|
|
|
|
implementation 'io.github.cdimascio:java-dotenv:5.2.2'
|
|
|
|
|
|
|
|
// Minio S3 Storage
|
|
|
|
implementation 'io.minio:minio:8.5.12'
|
|
|
|
|
2024-09-08 10:22:04 +02:00
|
|
|
// JWT token library (jjwt)
|
2024-09-06 20:01:42 +02:00
|
|
|
implementation 'io.jsonwebtoken:jjwt-api:0.12.6'
|
|
|
|
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.6'
|
|
|
|
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.6' // or 'io.jsonwebtoken:jjwt-gson:0.12.6' for gson
|
|
|
|
|
2024-08-25 20:27:39 +02:00
|
|
|
runtimeOnly 'org.postgresql:postgresql'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
2024-09-06 20:01:42 +02:00
|
|
|
testImplementation 'org.springframework.security:spring-security-test'
|
2024-08-25 20:27:39 +02:00
|
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.named('test') {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|