From ff2a89ee342deeb66c8d993685fd3bc85f03db9e Mon Sep 17 00:00:00 2001 From: Bae Hyeonseo Date: Wed, 22 May 2024 01:31:02 +0900 Subject: [PATCH] =?UTF-8?q?Main=20=EC=84=9C=EB=B2=84=20=ED=85=8C=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main-service-ci.yml | 45 ------------------------ .github/workflows/socket-service-ci.yml | 46 ------------------------- Main/build.gradle | 35 +++++++++++++++++-- 3 files changed, 33 insertions(+), 93 deletions(-) delete mode 100644 .github/workflows/main-service-ci.yml delete mode 100644 .github/workflows/socket-service-ci.yml diff --git a/.github/workflows/main-service-ci.yml b/.github/workflows/main-service-ci.yml deleted file mode 100644 index d3dfb3b..0000000 --- a/.github/workflows/main-service-ci.yml +++ /dev/null @@ -1,45 +0,0 @@ -name: Main Service CI - -on: - pull_request: - branches: [ "develop" ] - -jobs: - check-skip: - name: Check ot skip CI - runs-on: ubuntu-latest - if: ${{ contains(github.event.head_commit.message, 'Main') || contains(github.event.head_commit.message, 'Global') }} - steps: - - run: echo "${{ github.event.head_commit.message }}" - - build: - runs-on: ubuntu-latest - needs: check-skip - steps: - - uses: actions/checkout@v3 - - name: πŸ€ JDK 17 μ„€μ • - uses: actions/setup-java@v3 - with: - java-version: '17' - distribution: 'temurin' - - - name: πŸ€ application.yml μ„€μ • - run: | - cd ./MainService - cd ./src/main - mkdir resources - cd ./resources - touch ./application.yml - echo "$APPLICATION_DEV" > ./application.yml - env: - APPLICATION_MAIN: ${{ secrets.APPLICATION_DEV }} - - - name: πŸ€ gradle buildλ₯Ό μœ„ν•œ κΆŒν•œ μ„€μ • - run: | - cd ./Main - chmod +x gradlew - - - name: πŸ€ gradle build - run: | - cd ./Main - ./gradlew build -x test \ No newline at end of file diff --git a/.github/workflows/socket-service-ci.yml b/.github/workflows/socket-service-ci.yml deleted file mode 100644 index 577f3f7..0000000 --- a/.github/workflows/socket-service-ci.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Socket Service CI - -on: - pull_request: - branches: [ "develop" ] - -jobs: - check-skip: - name: Check ot skip CI - runs-on: ubuntu-latest - if: ${{ contains(github.event.head_commit.message, 'Socket') || contains(github.event.head_commit.message, 'Global') }} - steps: - - run: echo "${{ github.event.head_commit.message }}" - - build: - runs-on: ubuntu-latest - needs: check-skip - steps: - - uses: actions/checkout@v3 - - - name: πŸ€ JDK 17 μ„€μ • - uses: actions/setup-java@v3 - with: - java-version: '17' - distribution: 'temurin' - - - name: πŸ€ application.yml μ„€μ • - run: | - cd ./socket - cd ./src/main - mkdir resources - cd ./resources - touch ./application.yml - echo "$APPLICATION_SOCKET" > ./application.yml - env: - APPLICATION_SOCKET: ${{ secrets.APPLICATION_SOCKET }} - - - name: πŸ€ gradle buildλ₯Ό μœ„ν•œ κΆŒν•œ μ„€μ • - run: | - cd ./socket - chmod +x gradlew - - - name: πŸ€ gradle build - run: | - cd ./socket - ./gradlew build -x test \ No newline at end of file diff --git a/Main/build.gradle b/Main/build.gradle index 8d6ad3c..39862a6 100644 --- a/Main/build.gradle +++ b/Main/build.gradle @@ -16,9 +16,40 @@ repositories { } dependencies { - implementation 'org.springframework.boot:spring-boot-starter' + implementation 'org.springframework.boot:spring-boot-starter-data-jpa' + //implementation 'org.springframework.boot:spring-boot-starter-security' + implementation 'org.springframework.boot:spring-boot-starter-web' + implementation 'org.springframework.boot:spring-boot-starter-web-services' + compileOnly 'org.projectlombok:lombok' + runtimeOnly 'com.mysql:mysql-connector-j' + annotationProcessor 'org.projectlombok:lombok' testImplementation 'org.springframework.boot:spring-boot-starter-test' - testRuntimeOnly 'org.junit.platform:junit-platform-launcher' + + //jwt + implementation group: 'io.jsonwebtoken', name: 'jjwt-api', version: '0.11.5' + runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-impl', version: '0.11.5' + runtimeOnly group: 'io.jsonwebtoken', name: 'jjwt-jackson', version: '0.11.5' + + //security + implementation 'org.springframework.boot:spring-boot-starter-security' + + // redis + implementation 'org.springframework.boot:spring-boot-starter-data-redis:2.3.1.RELEASE' + + // S3 + implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE' + + //fcm + implementation 'com.google.firebase:firebase-admin:8.1.0' + implementation 'org.json:json:20210307' + + // Mail + implementation 'org.springframework.boot:spring-boot-starter-mail' + + //school email - univcert.com + implementation 'com.github.in-seo:univcert:master-SNAPSHOT' + //mongoDB + implementation 'org.springframework.boot:spring-boot-starter-data-mongodb' } tasks.named('test') {