Skip to content

Commit

Permalink
docker cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
sungjiwoon committed Jan 11, 2024
1 parent e8da0d9 commit 5775371
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 21 deletions.
53 changes: 33 additions & 20 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -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'
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.catchroom.chat;
package com.catchroom;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
Expand Down

0 comments on commit 5775371

Please sign in to comment.