build.gradle > SPRINGBOOT

본문 바로가기

사이트 내 전체검색

뒤로가기 SPRINGBOOT

build.gradle

페이지 정보

작성자 관리자 작성일 24-06-11 10:15 조회 54 댓글 0

본문

plugins {

id 'java'

id 'war'

id 'org.springframework.boot' version '3.2.6'

id 'io.spring.dependency-management' version '1.1.5'

}


group = 'com.example'

version = '0.0.1-SNAPSHOT'


java {

sourceCompatibility = '17'

}


configurations {

compileOnly {

extendsFrom annotationProcessor

}

}


repositories {

mavenCentral()

}


dependencies {

implementation 'org.springframework.boot:spring-boot-starter-data-jdbc'

implementation 'org.springframework.boot:spring-boot-starter-data-jpa'

implementation 'org.springframework.boot:spring-boot-starter-thymeleaf'

implementation 'org.springframework.boot:spring-boot-starter-web'

implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.3'

implementation 'org.bgee.log4jdbc-log4j2:log4jdbc-log4j2-jdbc4.1:1.16'

compileOnly 'org.projectlombok:lombok'

developmentOnly 'org.springframework.boot:spring-boot-devtools'

runtimeOnly 'org.mariadb.jdbc:mariadb-java-client'

annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'

annotationProcessor 'org.projectlombok:lombok'

providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat'

testImplementation 'org.springframework.boot:spring-boot-starter-test'

testImplementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter-test:3.0.3'

testRuntimeOnly 'org.junit.platform:junit-platform-launcher'

implementation 'nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect:3.3.0'

}


tasks.named('test') {

useJUnitPlatform()

}


댓글목록 0

등록된 댓글이 없습니다.


Copyright © dancePKT. All rights reserved.
PC 버전으로 보기