72 lines
2.3 KiB
Groovy
72 lines
2.3 KiB
Groovy
plugins {
|
|
id 'java'
|
|
id 'org.springframework.boot' version '3.5.7'
|
|
id 'io.spring.dependency-management' version '1.1.7'
|
|
}
|
|
|
|
group = 'com.kri.kfpa'
|
|
version = '0.0.1-SNAPSHOT'
|
|
description = 'gwcf-review-back'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
}
|
|
}
|
|
|
|
def giteaUser = findProperty("giteaUser") ?: ""
|
|
def giteaToken = findProperty("giteaToken") ?: ""
|
|
repositories {
|
|
mavenCentral()
|
|
|
|
maven {
|
|
name = "gitea"
|
|
url = uri("https://gitea.kric.com/api/packages/KRi/maven")
|
|
//allowInsecureProtocol = true
|
|
credentials {
|
|
username = giteaUser
|
|
password = giteaToken
|
|
}
|
|
}
|
|
}
|
|
dependencies {
|
|
implementation "com.kri.common:starter:beta.1.1.29"
|
|
|
|
implementation 'org.springframework.boot:spring-boot-starter-web'
|
|
implementation 'org.springframework.boot:spring-boot-starter-security'
|
|
implementation 'org.springframework.boot:spring-boot-starter-validation'
|
|
implementation "org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.11"
|
|
|
|
//JPA
|
|
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
|
|
//Entity Json <-> Class 파싱용
|
|
implementation "io.hypersistence:hypersistence-utils-hibernate-62:3.9.4"
|
|
//MySQL
|
|
runtimeOnly "com.mysql:mysql-connector-j"
|
|
// QueryDSL JPA
|
|
implementation "io.github.openfeign.querydsl:querydsl-jpa:7.1"
|
|
|
|
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.5'
|
|
implementation 'com.microsoft.sqlserver:mssql-jdbc:13.2.1.jre11' // 버전은 환경 맞춰 조정
|
|
|
|
// QClass 생성용 annotationProcessor
|
|
annotationProcessor "com.querydsl:querydsl-apt:5.0.0:jakarta"
|
|
annotationProcessor "jakarta.annotation:jakarta.annotation-api"
|
|
annotationProcessor "jakarta.persistence:jakarta.persistence-api"
|
|
|
|
implementation 'org.apache.poi:poi-ooxml:5.5.1'
|
|
|
|
compileOnly 'org.projectlombok:lombok'
|
|
annotationProcessor 'org.projectlombok:lombok'
|
|
|
|
developmentOnly 'org.springframework.boot:spring-boot-devtools'
|
|
|
|
testImplementation 'org.springframework.boot:spring-boot-starter-test'
|
|
testImplementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter-test:3.0.5'
|
|
testImplementation 'org.springframework.security:spring-security-test'
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
}
|
|
|
|
tasks.named('test') {
|
|
useJUnitPlatform()
|
|
} |