DevelopmentAutoservice/build.gradle

48 lines
1.2 KiB
Groovy
Raw Normal View History

2024-04-28 14:09:28 +04:00
plugins {
id 'java'
id 'org.springframework.boot' version '3.2.3'
2024-04-28 14:09:28 +04:00
id 'io.spring.dependency-management' version '1.1.4'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
defaultTasks 'bootRun'
jar {
enabled = false
}
bootJar {
archiveFileName = String.format('%s-%s.jar', rootProject.name, version)
}
assert System.properties['java.specification.version'] == '17' || '21' || '19'
2024-04-28 14:09:28 +04:00
java {
sourceCompatibility = '17'
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
2024-04-28 16:58:18 +04:00
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0'
implementation 'org.modelmapper:modelmapper:3.2.0'
implementation 'org.springframework.boot:spring-boot-devtools'
2024-04-28 16:58:18 +04:00
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
2024-04-30 14:51:24 +04:00
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:3.3.0'
implementation 'org.postgresql:postgresql'
2024-04-28 16:58:18 +04:00
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
2024-04-28 14:09:28 +04:00
}
tasks.named('test') {
useJUnitPlatform()
}