# Conflicts: # src/main/java/ru/soune/nocopy/controller/ApiController.java # src/main/java/ru/soune/nocopy/entity/file/FileEntity.java
74 lines
1.9 KiB
Groovy
74 lines
1.9 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.5.6'
|
|
id 'io.spring.dependency-management' version '1.1.7'
|
|
}
|
|
|
|
group = 'ru.soune'
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
}
|
|
|
|
//dependencyManagement {
|
|
// imports {
|
|
// mavenBom "org.jetbrains.kotlinx:kotlinx-coroutines-bom:1.6.4"
|
|
// }
|
|
//}
|
|
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom annotationProcessor
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
flatDir {
|
|
dirs 'libs'
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.security:spring-security-crypto:6.5.3'
|
|
implementation 'org.mapstruct:mapstruct:1.5.5.Final'
|
|
implementation 'commons-validator:commons-validator:1.7'
|
|
|
|
implementation 'org.flywaydb:flyway-core:9.22.0'
|
|
|
|
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'
|
|
|
|
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.5.Final'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
|
|
runtimeOnly 'com.microsoft.sqlserver:mssql-jdbc'
|
|
runtimeOnly 'com.mysql:mysql-connector-j'
|
|
runtimeOnly 'org.postgresql:postgresql'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testImplementation 'org.mockito:mockito-core:5.3.1'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
|
|
// implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.8.21'
|
|
// implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.4'
|
|
// implementation 'io.insert-koin:koin-core:3.5.0'
|
|
implementation name: 'testlib-fat-0.1.2-all (1)'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
}
|