2024-04-09 10:36:55 +04:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'org.springframework.boot' version '3.2.4'
|
|
|
|
id 'io.spring.dependency-management' version '1.1.4'
|
|
|
|
}
|
|
|
|
|
|
|
|
group = 'com.example'
|
|
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
|
|
|
|
java {
|
|
|
|
sourceCompatibility = '17'
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
ext {
|
|
|
|
set('springModulithVersion', "1.1.3")
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
|
|
implementation 'org.springframework.modulith:spring-modulith-starter-core'
|
|
|
|
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.4.0'
|
2024-04-09 14:45:23 +04:00
|
|
|
implementation 'org.modelmapper:modelmapper:3.1.1'
|
2024-04-09 10:36:55 +04:00
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
|
|
testImplementation 'org.springframework.modulith:spring-modulith-starter-test'
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencyManagement {
|
|
|
|
imports {
|
|
|
|
mavenBom "org.springframework.modulith:spring-modulith-bom:${springModulithVersion}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.named('test') {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|