Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[보스독] 4단계 - HTTP 웹 서버 리팩토링 미션 제출합니다. #187

Open
wants to merge 10 commits into
base: yeonnseok
Choose a base branch
from
56 changes: 56 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
buildscript {
ext {
springBootVersion = '2.2.2.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}

plugins {
id 'java'
id 'idea'
id 'eclipse'
}

allprojects {
version = '1.0.0'
}

subprojects {
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'

sourceCompatibility = 1.8

repositories {
mavenCentral()
}

dependencies {
implementation 'ch.qos.logback:logback-classic:1.2.3'
testImplementation 'org.junit.jupiter:junit-jupiter:5.6.2'
testImplementation 'org.assertj:assertj-core:3.16.1'
}

test {
useJUnitPlatform()
}
}

project(':web-server') {
dependencies {
compile project(':web-common')
}
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

각 모듈의 설정까지 뺄 필요는 없을 것 같아요 :)


project(':service-app') {
dependencies {
compile project(':web-common')
compile project(':web-server')
}
}
22 changes: 0 additions & 22 deletions service-app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,25 +1,3 @@
plugins {
id 'java'
id 'idea'
id 'eclipse'
}

version = '1.0.0'
sourceCompatibility = 1.8

repositories {
mavenCentral()
}

dependencies {
implementation project (':web-server')
implementation project (':web-common')
implementation 'com.google.guava:guava:29.0-jre'
implementation 'ch.qos.logback:logback-classic:1.2.3'
testImplementation 'org.junit.jupiter:junit-jupiter:5.6.2'
testImplementation 'org.assertj:assertj-core:3.16.1'
}

test {
useJUnitPlatform()
}
22 changes: 0 additions & 22 deletions web-common/build.gradle

This file was deleted.

21 changes: 0 additions & 21 deletions web-server/build.gradle
Original file line number Diff line number Diff line change
@@ -1,26 +1,5 @@
plugins {
id 'java'
id 'idea'
id 'eclipse'
}

version = '1.0.0'
sourceCompatibility = 1.8

repositories {
mavenCentral()
}

dependencies {
implementation project (':web-common')
implementation 'com.google.guava:guava:29.0-jre'
implementation 'ch.qos.logback:logback-classic:1.2.3'
implementation 'com.github.jknack:handlebars:4.2.0'
implementation 'org.springframework:spring-core:5.2.6.RELEASE'
testImplementation 'org.junit.jupiter:junit-jupiter:5.6.2'
testImplementation 'org.assertj:assertj-core:3.16.1'
}

test {
useJUnitPlatform()
}