From 69fa2883a771064b8921d00172c5eaf1ae9efc85 Mon Sep 17 00:00:00 2001 From: mingmong Date: Fri, 18 Oct 2024 06:37:50 +0900 Subject: [PATCH 1/2] =?UTF-8?q?chore:=20.gitignore=20=ED=8C=8C=EC=9D=BC=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 37 ++----------------------------------- HELP.md | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 35 deletions(-) create mode 100644 HELP.md diff --git a/.gitignore b/.gitignore index c2065bc..cb0b054 100644 --- a/.gitignore +++ b/.gitignore @@ -1,37 +1,4 @@ -HELP.md .gradle -build/ -!gradle/wrapper/gradle-wrapper.jar -!**/src/main/**/build/ -!**/src/test/**/build/ - -### STS ### -.apt_generated -.classpath -.factorypath -.project -.settings -.springBeans -.sts4-cache -bin/ -!**/src/main/**/bin/ -!**/src/test/**/bin/ - -### IntelliJ IDEA ### +build .idea -*.iws -*.iml -*.ipr -out/ -!**/src/main/**/out/ -!**/src/test/**/out/ - -### NetBeans ### -/nbproject/private/ -/nbbuild/ -/dist/ -/nbdist/ -/.nb-gradle/ - -### VS Code ### -.vscode/ +.DS_Store diff --git a/HELP.md b/HELP.md new file mode 100644 index 0000000..3931a39 --- /dev/null +++ b/HELP.md @@ -0,0 +1,25 @@ +# Getting Started + +### Reference Documentation + +For further reference, please consider the following sections: + +* [Official Gradle documentation](https://docs.gradle.org) +* [Spring Boot Gradle Plugin Reference Guide](https://docs.spring.io/spring-boot/3.3.4/gradle-plugin) +* [Create an OCI image](https://docs.spring.io/spring-boot/3.3.4/gradle-plugin/packaging-oci-image.html) +* [Spring Web](https://docs.spring.io/spring-boot/docs/3.3.4/reference/htmlsingle/index.html#web) + +### Guides + +The following guides illustrate how to use some features concretely: + +* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/) +* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/) +* [Building REST services with Spring](https://spring.io/guides/tutorials/rest/) + +### Additional Links + +These additional references should also help you: + +* [Gradle Build Scans – insights for your project's build](https://scans.gradle.com#gradle) + From 1f73add7cdc4c7cffa503866c165c84f83f33726 Mon Sep 17 00:00:00 2001 From: mingmong Date: Fri, 18 Oct 2024 07:44:58 +0900 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=EB=A9=80=ED=8B=B0=EB=AA=A8?= =?UTF-8?q?=EB=93=88=EA=B5=AC=EC=A1=B0=EB=A1=9C=20=EB=B3=80=EA=B2=BD=20?= =?UTF-8?q?=EB=B0=8F=20build.gradle=20=ED=8C=8C=EC=9D=BC=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HELP.md | 25 ------------------- build.gradle => api/build.gradle | 7 +++--- .../refurbmarket/RefurbMarketApplication.java | 0 .../main/resources/application.properties | 0 .../RefurbMarketApplicationTests.java | 0 settings.gradle | 1 + 6 files changed, 5 insertions(+), 28 deletions(-) delete mode 100644 HELP.md rename build.gradle => api/build.gradle (91%) rename {src => api/src}/main/java/com/refurbmarket/RefurbMarketApplication.java (100%) rename {src => api/src}/main/resources/application.properties (100%) rename {src => api/src}/test/java/com/refurbmarket/RefurbMarketApplicationTests.java (100%) diff --git a/HELP.md b/HELP.md deleted file mode 100644 index 3931a39..0000000 --- a/HELP.md +++ /dev/null @@ -1,25 +0,0 @@ -# Getting Started - -### Reference Documentation - -For further reference, please consider the following sections: - -* [Official Gradle documentation](https://docs.gradle.org) -* [Spring Boot Gradle Plugin Reference Guide](https://docs.spring.io/spring-boot/3.3.4/gradle-plugin) -* [Create an OCI image](https://docs.spring.io/spring-boot/3.3.4/gradle-plugin/packaging-oci-image.html) -* [Spring Web](https://docs.spring.io/spring-boot/docs/3.3.4/reference/htmlsingle/index.html#web) - -### Guides - -The following guides illustrate how to use some features concretely: - -* [Building a RESTful Web Service](https://spring.io/guides/gs/rest-service/) -* [Serving Web Content with Spring MVC](https://spring.io/guides/gs/serving-web-content/) -* [Building REST services with Spring](https://spring.io/guides/tutorials/rest/) - -### Additional Links - -These additional references should also help you: - -* [Gradle Build Scans – insights for your project's build](https://scans.gradle.com#gradle) - diff --git a/build.gradle b/api/build.gradle similarity index 91% rename from build.gradle rename to api/build.gradle index 4d32466..6f5eb83 100644 --- a/build.gradle +++ b/api/build.gradle @@ -4,7 +4,7 @@ plugins { id 'io.spring.dependency-management' version '1.1.6' } -group = 'com' +group = 'refurb-market' version = '0.0.1-SNAPSHOT' java { @@ -24,9 +24,10 @@ repositories { } dependencies { - implementation 'org.springframework.boot:spring-boot-starter-web' compileOnly 'org.projectlombok:lombok' - annotationProcessor 'org.projectlombok:lombok' + + implementation 'org.springframework.boot:spring-boot-starter-web' + testImplementation 'org.springframework.boot:spring-boot-starter-test' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } diff --git a/src/main/java/com/refurbmarket/RefurbMarketApplication.java b/api/src/main/java/com/refurbmarket/RefurbMarketApplication.java similarity index 100% rename from src/main/java/com/refurbmarket/RefurbMarketApplication.java rename to api/src/main/java/com/refurbmarket/RefurbMarketApplication.java diff --git a/src/main/resources/application.properties b/api/src/main/resources/application.properties similarity index 100% rename from src/main/resources/application.properties rename to api/src/main/resources/application.properties diff --git a/src/test/java/com/refurbmarket/RefurbMarketApplicationTests.java b/api/src/test/java/com/refurbmarket/RefurbMarketApplicationTests.java similarity index 100% rename from src/test/java/com/refurbmarket/RefurbMarketApplicationTests.java rename to api/src/test/java/com/refurbmarket/RefurbMarketApplicationTests.java diff --git a/settings.gradle b/settings.gradle index b0b08e8..db37aec 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1,2 @@ rootProject.name = 'RefurbMarket' +include ':api'