2025-11-23 21:41:11 +07:00
|
|
|
plugins {
|
|
|
|
|
id 'java'
|
2025-11-24 21:04:50 +07:00
|
|
|
id 'org.springframework.boot' version '3.5.6'
|
2025-11-23 21:41:11 +07:00
|
|
|
id 'io.spring.dependency-management' version '1.1.7'
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
group = 'ru.soune'
|
|
|
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
|
|
|
|
|
|
java {
|
|
|
|
|
toolchain {
|
|
|
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
|
compileOnly {
|
|
|
|
|
extendsFrom annotationProcessor
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
|
mavenCentral()
|
2026-01-08 03:22:32 +07:00
|
|
|
flatDir {
|
|
|
|
|
dirs 'libs'
|
|
|
|
|
}
|
2025-11-23 21:41:11 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
2025-11-24 21:04:50 +07:00
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
2025-11-24 12:29:32 +07:00
|
|
|
implementation 'org.springframework.security:spring-security-crypto:6.5.3'
|
2025-11-26 13:03:20 +07:00
|
|
|
implementation 'org.mapstruct:mapstruct:1.5.5.Final'
|
2025-12-12 13:07:46 +07:00
|
|
|
implementation 'commons-validator:commons-validator:1.7'
|
|
|
|
|
|
2026-01-13 22:40:52 +07:00
|
|
|
implementation 'org.flywaydb:flyway-core:9.22.0'
|
|
|
|
|
|
2025-12-22 14:07:44 +07:00
|
|
|
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.17.0'
|
|
|
|
|
implementation 'tools.jackson.core:jackson-core:3.0.3'
|
|
|
|
|
implementation 'jakarta.xml.bind:jakarta.xml.bind-api:4.0.0'
|
|
|
|
|
|
2025-11-26 13:03:20 +07:00
|
|
|
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.5.Final'
|
2025-12-12 13:07:46 +07:00
|
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
|
|
2025-11-23 21:41:11 +07:00
|
|
|
compileOnly 'org.projectlombok:lombok'
|
2025-12-12 13:07:46 +07:00
|
|
|
|
2025-11-23 21:41:11 +07:00
|
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
2025-12-12 13:07:46 +07:00
|
|
|
|
2025-11-23 21:41:11 +07:00
|
|
|
runtimeOnly 'com.microsoft.sqlserver:mssql-jdbc'
|
|
|
|
|
runtimeOnly 'com.mysql:mysql-connector-j'
|
2025-11-24 21:04:50 +07:00
|
|
|
runtimeOnly 'org.postgresql:postgresql'
|
2025-12-12 13:07:46 +07:00
|
|
|
|
2025-11-24 21:04:50 +07:00
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
|
|
|
testImplementation 'org.mockito:mockito-core:5.3.1'
|
2025-11-23 21:41:11 +07:00
|
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
2026-01-08 03:22:32 +07:00
|
|
|
|
2026-01-22 19:55:09 +07:00
|
|
|
implementation name: 'testlib-fat-0.2.1-all'
|
|
|
|
|
|
2025-11-23 21:41:11 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
tasks.named('test') {
|
|
|
|
|
useJUnitPlatform()
|
|
|
|
|
}
|