Files
iotdoor_boot/build.gradle
T
CSKIM 9d38a8f54c robots.txt 수정
jar파일명 변경
2026-05-09 00:23:31 +09:00

66 lines
1.9 KiB
Groovy

plugins {
id 'java'
id 'org.springframework.boot' version '3.5.11'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'kr.iotdoor'
version = '0.0.1-SNAPSHOT'
description = 'IOTDOOR modernized Spring Boot application'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
repositories {
mavenCentral()
}
ext {
mybatisSpringBootVersion = '3.0.4'
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'
implementation 'org.springframework.boot:spring-boot-starter-security'
implementation 'org.springframework.boot:spring-boot-starter-validation'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
developmentOnly 'org.springframework.boot:spring-boot-devtools'
implementation "org.mybatis.spring.boot:mybatis-spring-boot-starter:${mybatisSpringBootVersion}"
implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity6'
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect'
implementation 'nz.net.ultraq.thymeleaf:thymeleaf-expression-processor:3.2.0'
runtimeOnly 'org.mariadb.jdbc:mariadb-java-client'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.springframework.security:spring-security-test'
testRuntimeOnly 'com.h2database:h2'
}
tasks.withType(JavaCompile).configureEach {
options.encoding = 'UTF-8'
}
tasks.named('bootRun') {
sourceResources sourceSets.main
systemProperty 'spring.devtools.restart.enabled', 'true'
}
tasks.named('bootJar') {
archiveFileName = 'iotdoor-boot.jar'
}
tasks.named('jar') {
enabled = false
}
tasks.named('test') {
useJUnitPlatform()
}