Start work on auth-service: spring boot project, configs, repository and services

This commit is contained in:
roma-dxunvrs
2026-04-10 23:20:20 +03:00
parent d34c3215d6
commit f93dca67f6
20 changed files with 637 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
plugins {
id 'java'
id 'org.springframework.boot' version '4.0.5'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'com.dxunvrs'
version = '1.0'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-session-jdbc'
implementation 'org.springframework.boot:spring-boot-starter-webmvc'
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'org.postgresql:postgresql'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-session-jdbc-test'
testImplementation 'org.springframework.boot:spring-boot-starter-webmvc-test'
testCompileOnly 'org.projectlombok:lombok'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
testAnnotationProcessor 'org.projectlombok:lombok'
implementation 'org.jdbi:jdbi3-spring5:3.52.0'
implementation 'org.jdbi:jdbi3-sqlobject:3.52.0'
implementation 'org.jdbi:jdbi3-postgres:3.52.0'
implementation 'io.jsonwebtoken:jjwt-api:0.12.6'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.12.6'
runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.12.6'
implementation 'org.springframework.security:spring-security-crypto'
}
tasks.named('test') {
useJUnitPlatform()
}