* feat: Create Phone validator annotation * feat: validation annotation 변경 및 @Builder 제거 * refactor: builder 에서 생성자로 변경 * refactor: value null or empty 시 true 반환 * test: user validator 테스트 코드 작성 * refactor: grade @NotNull message 추가 * feat: spring-boot-starter-security 주석해제 * feat: 시큐리티 disable 및 psswordEncoder 빈등록 * feat: 회원가입 Service 메소드 구현 * feat: findByEmail Repository add * feat: email 중복 시 예외 클래스 생성 * feat: 회원가입 컨트롤러 생성 * test: 회원가입 서비스 테스트 코드 작성 * docs: logs 디렉토리 추가 * refactor: 맨 하단 공백 추가 * refactor: properties message 다국어 적용 * refactor: 재정렬 * fix: @EnableJpaAuditing 중복 선언 제거 * fix: service 구현체와 동일하게 파라미터 수정 * refactor: validateEmail 메소드 병합 * refactor: SignUp 에서 UserEntity 생성하도록 변경 * refactor: message 외부로 분리 * refactor: 중복 이메일일 경우 Exception 대신 Optional 처리 * test: signUp toUser 메소드 테스트 * refactor: Phone 애노테이션 적용 부분 message 제거 * refactor: email error log add * refactor: PasswordEncoder 를 SignUp 생성 시 적용 서비스에서는 파라미터로 넘어온 SignUp을 바로 엔티티로 저장하는 구조로 변경
55 lines
1.5 KiB
Kotlin
55 lines
1.5 KiB
Kotlin
plugins {
|
|
java
|
|
id("org.springframework.boot") version "2.6.7"
|
|
id("io.spring.dependency-management") version "1.0.11.RELEASE"
|
|
}
|
|
|
|
group = "com.ticketing"
|
|
version = "0.0.1-SNAPSHOT"
|
|
|
|
val javaVersion = JavaVersion.VERSION_11
|
|
java {
|
|
sourceCompatibility = javaVersion
|
|
targetCompatibility = javaVersion
|
|
}
|
|
|
|
configurations {
|
|
compileOnly {
|
|
extendsFrom(configurations.annotationProcessor.get())
|
|
}
|
|
}
|
|
|
|
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("org.springframework.boot:spring-boot-starter-actuator")
|
|
implementation("com.github.ulisesbocchio:jasypt-spring-boot-starter:3.0.4")
|
|
implementation("org.springframework.boot:spring-boot-starter-log4j2")
|
|
implementation("com.lmax:disruptor:3.4.2")
|
|
|
|
modules {
|
|
module("org.springframework.boot:spring-boot-starter-logging") {
|
|
replacedBy("org.springframework.boot:spring-boot-starter-log4j2", "Use Log4j2 instead of Logback")
|
|
}
|
|
}
|
|
|
|
compileOnly("org.projectlombok:lombok")
|
|
runtimeOnly("mysql:mysql-connector-java")
|
|
annotationProcessor("org.projectlombok:lombok")
|
|
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
|
testImplementation("org.springframework.security:spring-security-test")
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform()
|
|
}
|