diff --git a/build.gradle b/build.gradle index 67a9459..0893489 100644 --- a/build.gradle +++ b/build.gradle @@ -1,52 +1,65 @@ plugins { id 'java' - id 'org.springframework.boot' version '3.1.6' + id 'org.springframework.boot' version '3.1.7' id 'io.spring.dependency-management' version '1.1.4' } -group = 'com.catchroom' +group = 'com.example' version = '0.0.1-SNAPSHOT' java { sourceCompatibility = '17' } -jar { - enabled=false +configurations { + compileOnly { + extendsFrom annotationProcessor + } } repositories { mavenCentral() } -dependencies { +tasks.named('bootBuildImage') { + builder = 'paketobuildpacks/builder-jammy-base:latest' +} - implementation 'org.springframework.boot:spring-boot-starter-web' - implementation 'org.springframework.boot:spring-boot-starter-web-services' - compileOnly 'org.projectlombok:lombok' - developmentOnly 'org.springframework.boot:spring-boot-devtools' - runtimeOnly 'com.mysql:mysql-connector-j' - annotationProcessor 'org.projectlombok:lombok' - testImplementation 'org.springframework.boot:spring-boot-starter-test' +tasks.named('test') { + useJUnitPlatform() +} - //websocket + + +dependencies { + implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-starter-websocket' + implementation 'org.springframework.boot:spring-boot-starter-freemarker' + implementation 'org.springframework.boot:spring-boot-devtools' + implementation 'com.mysql:mysql-connector-j' - //aws secret key 사용을 위한 의존성 추가 + //aws secretkey 사용을 위한 의존성 추가 implementation 'org.springframework.cloud:spring-cloud-starter-bootstrap:3.1.3' implementation 'org.springframework.cloud:spring-cloud-starter-aws-secrets-manager-config:2.2.6.RELEASE' implementation 'com.amazonaws.secretsmanager:aws-secretsmanager-jdbc:1.0.8' - //jpa 사용을 위한 의존성 추가 - implementation 'org.springframework.boot:spring-boot-starter-data-jpa' - //redis implementation 'org.springframework.boot:spring-boot-starter-data-redis' //mongo implementation 'org.springframework.boot:spring-boot-starter-data-mongodb' -} -tasks.named('test') { - useJUnitPlatform() + + implementation 'org.webjars.bower:bootstrap:4.3.1' + implementation 'org.webjars.bower:vue:2.5.16' + implementation 'org.webjars.bower:axios:0.17.1' + implementation 'org.webjars:sockjs-client:1.1.2' + implementation 'org.webjars:stomp-websocket:2.3.3-1' + + implementation 'com.google.code.gson:gson:2.8.0' + + + compileOnly 'org.projectlombok:lombok' + annotationProcessor 'org.projectlombok:lombok' + testImplementation 'org.springframework.boot:spring-boot-starter-test' } diff --git a/src/main/java/com/catchroom/chat/ChatApplication.java b/src/main/java/com/catchroom/ChatApplication.java similarity index 91% rename from src/main/java/com/catchroom/chat/ChatApplication.java rename to src/main/java/com/catchroom/ChatApplication.java index 4d7d53b..8aa514c 100644 --- a/src/main/java/com/catchroom/chat/ChatApplication.java +++ b/src/main/java/com/catchroom/ChatApplication.java @@ -1,4 +1,4 @@ -package com.catchroom.chat; +package com.catchroom; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;