2024-02-21 20:11:39 +04:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
2024-05-29 19:33:06 +04:00
|
|
|
id 'org.springframework.boot' version '3.3.0'
|
2024-02-21 20:11:39 +04:00
|
|
|
id 'io.spring.dependency-management' version '1.1.4'
|
|
|
|
}
|
|
|
|
|
|
|
|
group = 'com.ip'
|
|
|
|
version = '0.0.1-SNAPSHOT'
|
|
|
|
|
2024-04-11 13:37:30 +04:00
|
|
|
defaultTasks 'bootRun'
|
|
|
|
|
|
|
|
jar {
|
|
|
|
enabled = false
|
|
|
|
}
|
|
|
|
|
|
|
|
bootJar {
|
|
|
|
archiveFileName = String.format('%s-%s.jar', rootProject.name, version)
|
|
|
|
}
|
|
|
|
|
|
|
|
assert System.properties['java.specification.version'] == '17' || '21'
|
2024-02-21 20:11:39 +04:00
|
|
|
java {
|
|
|
|
sourceCompatibility = '17'
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
2024-04-11 13:37:30 +04:00
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
2024-02-21 20:11:39 +04:00
|
|
|
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0'
|
2024-03-06 20:00:16 +04:00
|
|
|
implementation 'org.modelmapper:modelmapper:3.2.0'
|
2024-04-11 13:37:30 +04:00
|
|
|
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
|
|
|
|
implementation 'com.h2database:h2:2.2.224'
|
2024-06-02 17:34:43 +04:00
|
|
|
|
|
|
|
implementation 'org.springframework.boot:spring-boot-devtools'
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
|
|
|
|
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:3.3.0'
|
|
|
|
runtimeOnly 'org.webjars.npm:bootstrap:5.3.3'
|
|
|
|
runtimeOnly 'org.webjars.npm:bootstrap-icons:1.11.3'
|
2024-05-23 13:59:13 +04:00
|
|
|
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
2024-06-02 17:34:43 +04:00
|
|
|
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6'
|
2024-04-03 15:41:29 +04:00
|
|
|
|
2024-02-21 20:11:39 +04:00
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks.named('test') {
|
|
|
|
useJUnitPlatform()
|
|
|
|
}
|