plugins { id 'org.springframework.boot' version '3.2.0' id 'io.spring.dependency-management' version '1.1.3' id 'java' //id 'war' } group = 'com.handong' version = '0.0.1-SNAPSHOT' sourceCompatibility = '21' targetCompatibility = '21' // Configure Java toolchain to use Java 21 for compilation and execution where supported java { toolchain { languageVersion = JavaLanguageVersion.of(21) } } //apply plugin: 'war' //bootWar.enabled = false //war.enabled = true repositories { mavenCentral() } dependencies { implementation 'org.springframework.boot:spring-boot-starter-jdbc' implementation 'org.springframework.boot:spring-boot-starter-web' developmentOnly 'org.springframework.boot:spring-boot-devtools' implementation 'org.springframework.boot:spring-boot-starter-security' //runtimeOnly 'org.mariadb.jdbc:mariadb-java-client' //runtimeOnly 'mysql:mysql-connector-java:5.1.44' runtimeOnly 'com.mysql:mysql-connector-j:8.0.33' testImplementation 'org.springframework.boot:spring-boot-starter-test' implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.3' implementation 'javax.servlet:jstl:1.2' implementation 'org.apache.tomcat.embed:tomcat-embed-jasper' implementation 'org.apache.poi:poi:5.2.2' implementation 'org.apache.poi:poi-ooxml:5.2.2' // JWT implementation 'io.jsonwebtoken:jjwt-api:0.11.5' runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.5' runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.5' // Redis implementation 'org.springframework.boot:spring-boot-starter-data-redis' } tasks.named('test') { useJUnitPlatform() }