diff --git a/build.gradle b/build.gradle deleted file mode 100644 index 7655be1..0000000 --- a/build.gradle +++ /dev/null @@ -1,28 +0,0 @@ -plugins { - id 'java' - id 'org.springframework.boot' version '3.4.0' - id 'io.spring.dependency-management' version '1.1.6' -} - -group = 'io.jeyong' -version = '0.0.1-SNAPSHOT' - -java { - toolchain { - languageVersion = JavaLanguageVersion.of(17) - } -} - -repositories { - mavenCentral() -} - -dependencies { - implementation 'org.springframework.boot:spring-boot-starter' - testImplementation 'org.springframework.boot:spring-boot-starter-test' - testRuntimeOnly 'org.junit.platform:junit-platform-launcher' -} - -tasks.named('test') { - useJUnitPlatform() -} diff --git a/handler/src/main/resources/application.properties b/handler/src/main/resources/application.properties deleted file mode 100644 index aae6fda..0000000 --- a/handler/src/main/resources/application.properties +++ /dev/null @@ -1 +0,0 @@ -spring.application.name=handler diff --git a/handler/src/test/java/io/jeyong/handler/HandlerApplicationTests.java b/handler/src/test/java/io/jeyong/handler/HandlerApplicationTests.java deleted file mode 100644 index da028b1..0000000 --- a/handler/src/test/java/io/jeyong/handler/HandlerApplicationTests.java +++ /dev/null @@ -1,13 +0,0 @@ -package io.jeyong.handler; - -import org.junit.jupiter.api.Test; -import org.springframework.boot.test.context.SpringBootTest; - -@SpringBootTest -class HandlerApplicationTests { - - @Test - void contextLoads() { - } - -} diff --git a/test/build.gradle b/test/build.gradle index 7655be1..77a0960 100644 --- a/test/build.gradle +++ b/test/build.gradle @@ -1,7 +1,7 @@ plugins { id 'java' - id 'org.springframework.boot' version '3.4.0' - id 'io.spring.dependency-management' version '1.1.6' + id 'org.springframework.boot' version '3.0.0' + id 'io.spring.dependency-management' version '1.1.0' } group = 'io.jeyong' @@ -18,7 +18,11 @@ repositories { } dependencies { - implementation 'org.springframework.boot:spring-boot-starter' + implementation project(':handler') + implementation 'org.springframework.boot:spring-boot-starter-web' + implementation 'org.projectlombok:lombok' + annotationProcessor 'org.projectlombok:lombok' + testImplementation 'org.springframework.boot:spring-boot-starter-test' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } diff --git a/test/src/main/java/io/jeyong/test/TestApplication.java b/test/src/main/java/io/jeyong/test/TestApplication.java index 0499f37..c8a2bf2 100644 --- a/test/src/main/java/io/jeyong/test/TestApplication.java +++ b/test/src/main/java/io/jeyong/test/TestApplication.java @@ -9,5 +9,4 @@ public class TestApplication { public static void main(String[] args) { SpringApplication.run(TestApplication.class, args); } - } diff --git a/test/src/main/resources/application.properties b/test/src/main/resources/application.properties deleted file mode 100644 index 15edec8..0000000 --- a/test/src/main/resources/application.properties +++ /dev/null @@ -1 +0,0 @@ -spring.application.name=test diff --git a/test/src/main/resources/application.yml b/test/src/main/resources/application.yml new file mode 100644 index 0000000..e69de29