From e12a3b58deebe68094a9646489af484bfee1733e Mon Sep 17 00:00:00 2001 From: wingyou Date: Mon, 25 Mar 2024 03:37:51 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20gradle=20=ED=83=9C=EC=8A=A4=ED=81=AC=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20=EB=B0=8F=20=EC=8B=A4=ED=96=89=20=EC=8A=A4?= =?UTF-8?q?=ED=81=AC=EB=A6=BD=ED=8A=B8=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- JWT/build.gradle | 4 ++-- JWT/deploy/runner.sh | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 JWT/deploy/runner.sh diff --git a/JWT/build.gradle b/JWT/build.gradle index 3fab0dc..3458ea1 100644 --- a/JWT/build.gradle +++ b/JWT/build.gradle @@ -51,6 +51,6 @@ tasks.named('test') { } // 배포용 태스크 -tasks.register('jarDir') { - println "${project.buildDir}/libs/${project.name}-${version}" +tasks.register('jarPath') { + println "${project.buildDir}/libs/${project.name}-${version}.jar" } diff --git a/JWT/deploy/runner.sh b/JWT/deploy/runner.sh new file mode 100644 index 0000000..a414ceb --- /dev/null +++ b/JWT/deploy/runner.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +nohup java -jar $1 --spring.profiles.active=dev 2>&1 &