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/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'