* 만들면서 배우는 클린 아키텍처 initial commit * refactor : 프로젝트 진입점 클래스 이름 변경 * docs : README.md 헥사고날 아키텍처 항목 추가 * docs(README.md) : 내용 정리 추가 * feat(user.domain) : 도메인 모델 User 추가 * feat(user.domain) : User 의 nickname 프로퍼티 값 객체로 포장 * refactor(User) : 닉네임 변경 함수 이름 수정 * test(user.domain) : 회원 닉네임 변경 테스트 추가 * chore : DB 설정 추가 * feat(user.adapter) : User Entity 구현 * feat : User 닉네임 변경 기능 추가 * refactor(user) : domain 패키지 내부 패키지 구성 추가 및 Entity, Model 이관 * refactor : 사용하지 않는 파일 삭제 * refactor : User 닉네임 변경 기능 컴포넌트 이름 변경 * refactor : User 닉네임 변경 기능 in port 이름 변경 * feat : User Upsert Port 및 Adapter 구현, Service 로직에 추가 * chore : Hexagonal Architecture Process 이미지 추가 * docs(README.md) : 요구사항, 구현 항목 추가 * refactor : 패키지 구성 변경 * feat(user.adapter) : UserMapper 추가 및 적용 * docs(README.md) : 참고자료 및 구현 항목 내용 추가 * refactor : ChangeNicknameRequest, ChangeNicknameResponse 패키지 변경 * refactor : adapter 계층만 application 계층에 의존하도록 통신 객체 추가 및 적용 * refactor : UserEntity @Table 이름 적용 * docs(README.md) : 구현 항목 내용 추가 * refactor : Nickname 입력 유효성 검사 ChangeNicknameRequest 에서 수행하도록 변경 * refactor(user.pojo) : 불필요한 테스트 삭제 * refactor(UserTest) : 오탈자 수정 * build : Kotlin 테스트 라이브러리 추가 * test(user.application) : 닉네임 변경 테스트 추가 * test(user.adapter) : 회원 조회 테스트 추가 * refactor : 불필요한 파일 삭제 * test(user.adapter) : 회원 상태 저장 또는 수정 테스트 추가 * test(user.adapter) : User POJO <-> User Entity 매핑 테스트 추가 * test(user.adapter) : 닉네임 변경 Web Adapter 테스트 추가 * refactor : 불필요한 테스트 파일 삭제 * refactor(user) : 닉네임 변경 테스트 케이스 출력 이름 변경
49 lines
1.4 KiB
Plaintext
49 lines
1.4 KiB
Plaintext
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
id("java")
|
|
id("org.springframework.boot") version "2.6.1"
|
|
id("io.spring.dependency-management") version "1.0.11.RELEASE"
|
|
kotlin("jvm") version "1.6.0"
|
|
kotlin("plugin.spring") version "1.6.0"
|
|
kotlin("plugin.jpa") version "1.6.0"
|
|
}
|
|
|
|
group = "com.banjjoknim"
|
|
version = "0.0.1-SNAPSHOT"
|
|
java.sourceCompatibility = JavaVersion.VERSION_11
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
|
// implementation("org.springframework.boot:spring-boot-starter-security")
|
|
implementation("org.springframework.boot:spring-boot-starter-validation")
|
|
implementation("org.springframework.boot:spring-boot-starter-web")
|
|
implementation("com.fasterxml.jackson.module:jackson-module-kotlin")
|
|
implementation("org.jetbrains.kotlin:kotlin-reflect")
|
|
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
|
|
|
|
runtimeOnly("com.h2database:h2")
|
|
runtimeOnly("mysql:mysql-connector-java")
|
|
runtimeOnly("org.mariadb.jdbc:mariadb-java-client")
|
|
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
|
// testImplementation("org.springframework.security:spring-security-test")
|
|
testImplementation("io.mockk:mockk:1.12.3")
|
|
testImplementation("com.ninja-squad:springmockk:3.1.1")
|
|
}
|
|
|
|
tasks.withType<KotlinCompile> {
|
|
kotlinOptions {
|
|
freeCompilerArgs = listOf("-Xjsr305=strict")
|
|
jvmTarget = "11"
|
|
}
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform()
|
|
}
|