Files
bio_backend/build.gradle

77 lines
2.0 KiB
Groovy
Raw Permalink Normal View History

2025-08-08 13:26:09 +09:00
plugins {
id 'java'
id 'org.springframework.boot' version '3.5.4'
id 'io.spring.dependency-management' version '1.1.7'
}
group = 'com.bio'
version = '0.0.1-SNAPSHOT'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(17)
}
}
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
developmentOnly 'org.springframework.boot:spring-boot-devtools'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
2025-08-13 10:11:54 +09:00
// PostgreSQL JDBC
2025-08-08 13:26:09 +09:00
runtimeOnly 'org.postgresql:postgresql'
implementation 'org.springframework.boot:spring-boot-starter-web'
2025-08-11 11:31:02 +09:00
2025-08-13 10:11:54 +09:00
// Spring Securit
2025-08-11 11:31:02 +09:00
implementation 'org.springframework.boot:spring-boot-starter-security'
2025-08-13 10:11:54 +09:00
// Validation
2025-08-11 11:31:02 +09:00
implementation 'org.springframework.boot:spring-boot-starter-validation'
2025-08-13 10:11:54 +09:00
// MapStruct
implementation 'org.mapstruct:mapstruct:1.5.5.Final'
annotationProcessor 'org.mapstruct:mapstruct-processor:1.5.5.Final'
2025-08-11 11:31:02 +09:00
2025-08-13 10:11:54 +09:00
// MyBatis
2025-08-11 11:31:02 +09:00
implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:3.0.3'
2025-08-12 08:46:55 +09:00
// jwt
implementation 'io.jsonwebtoken:jjwt-api:0.12.5'
2025-08-13 10:11:54 +09:00
// lombok
2025-08-08 13:26:09 +09:00
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok-mapstruct-binding:0.2.0'
2025-08-08 13:26:09 +09:00
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
// querydsl
2025-08-13 10:11:54 +09:00
implementation 'io.github.openfeign.querydsl:querydsl-jpa:6.11'
annotationProcessor 'io.github.openfeign.querydsl:querydsl-apt:6.11:jpa'
annotationProcessor 'jakarta.annotation:jakarta.annotation-api'
annotationProcessor 'jakarta.persistence:jakarta.persistence-api'
// p6spy
implementation 'com.github.gavlyukovskiy:p6spy-spring-boot-starter:1.9.0'
2025-08-08 13:26:09 +09:00
}
tasks.named('test') {
useJUnitPlatform()
}
// querydsl
2025-08-13 10:42:08 +09:00
def generatedSrcDir = 'build/generated/sources/annotation-processor'
2025-08-13 10:11:54 +09:00
clean {
2025-08-13 10:42:08 +09:00
delete file(generatedSrcDir)
}
2025-08-13 10:11:54 +09:00
tasks.withType(JavaCompile).configureEach {
2025-08-13 10:42:08 +09:00
options.generatedSourceOutputDirectory = file(generatedSrcDir)
2025-08-13 10:11:54 +09:00
}