* initial commit * refactor : src 디렉토리 삭제 * build : module-api 추가 및 build.gradle.kts 설정 변경 * build : module-domain 추가 및 build.gradle.kts 설정 변경 * feat : module-api 에 SpringBootApplication 실행 파일 추가 * build : module-api spring-data-jpa 의존성 module-domain 으로 이관 * build : 최상위 build.gradle.kts 에서 subprojects 들에 `org.springframework.boot`, `io.spring.dependency-management` 플러그인 적용하도록 변경 * feat : User Entity 추가 * feat(application.yml) : spring datasource, jpa, h2 설정 추가 * feat(user) : 회원 등록 기능 구현 * build : build.gradle.kts 코틀린 테스트 라이브러리 추가 * fix : 어노테이션 및 이름 수정 * test : 회원 등록 기능 테스트 추가
38 lines
988 B
Plaintext
38 lines
988 B
Plaintext
plugins {
|
|
id("org.springframework.boot") version "2.6.7" apply false
|
|
id("io.spring.dependency-management") version "1.0.11.RELEASE" apply false
|
|
kotlin("jvm") version "1.6.21" apply false
|
|
kotlin("plugin.spring") version "1.6.21" apply false
|
|
kotlin("plugin.jpa") version "1.6.21" apply false
|
|
}
|
|
|
|
allprojects { // 모든 프로젝트 모듈에 아래의 사항을 적용한다.
|
|
group = "com.banjjoknim"
|
|
version = "0.0.1-SNAPSHOT"
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
|
kotlinOptions {
|
|
freeCompilerArgs = listOf("-Xjsr305=strict")
|
|
jvmTarget = "11"
|
|
}
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform()
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
apply { // subprojects, 서브 모듈들에 아래의 플러그인들을 적용한다.
|
|
plugin("org.springframework.boot")
|
|
plugin("io.spring.dependency-management")
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
}
|