* initial commit * feat : SOLID - SRP 샘플 코드 구현 * feat : SOLID - OCP 샘플 코드 구현 * feat : SOLID - LSP 샘플 코드 구현 * feat : SOLID - ISP 샘플 코드 구현 * feat : SOLID - DIP 샘플 코드 구현 * docs : README.md Design Pattern 항목 추가 * feat : Design Pattern - 전략(Strategy) 패턴 구현 * feat : Design Pattern - 템플릿 메서드(Template Method) 패턴 구현 * feat : Design Pattern - 상태(State) 패턴 구현 * feat : Design Pattern - 프록시(Proxy) 패턴 구현 * feat : Design Pattern - 어댑터(Adapter) 패턴 구현 * feat : Design Pattern - 옵저버(Observer) 패턴 구현 * feat : Design Pattern - 파사드(Facade) 패턴 구현 * feat : Design Pattern - 추상 팩토리 패턴(Abstract Factory) 패턴 구현 * feat : Design Pattern - 컴포지트(Composite) 패턴 구현 * feat : Design Pattern - 미디에이터(Mediator) 패턴 구현 * feat : Design Pattern - 널 객체(Null Object) 패턴 구현 * feat : Design Pattern - 데코레이터(Decorator) 패턴 구현
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
|
|
plugins {
|
|
id("org.springframework.boot") version "2.7.5"
|
|
id("io.spring.dependency-management") version "1.0.15.RELEASE"
|
|
kotlin("jvm") version "1.6.21"
|
|
kotlin("plugin.spring") version "1.6.21"
|
|
kotlin("plugin.jpa") version "1.6.21"
|
|
}
|
|
|
|
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-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")
|
|
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
|
}
|
|
|
|
tasks.withType<KotlinCompile> {
|
|
kotlinOptions {
|
|
freeCompilerArgs = listOf("-Xjsr305=strict")
|
|
jvmTarget = "11"
|
|
}
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform()
|
|
}
|