DocuSphere/server/build.gradle

48 lines
1.4 KiB
Groovy
Raw Normal View History

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'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
2024-09-02 19:34:45 +02:00
// Argon2 password hashing
implementation 'org.springframework.security:spring-security-crypto:6.3.3'
implementation 'org.bouncycastle:bcprov-jdk18on:1.78.1'
2024-09-02 19:34:45 +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)
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'
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()
}