From 7cb465d0a3bc9d0508776a33f2729d47cfe13661 Mon Sep 17 00:00:00 2001 From: Jiyoon Kim Date: Fri, 12 Jan 2024 02:44:47 +0900 Subject: [PATCH] =?UTF-8?q?#3=20fix:=20gradle=20runtimeOnly=20=EC=86=8D?= =?UTF-8?q?=EC=84=B1=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/build.gradle | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/backend/build.gradle b/backend/build.gradle index d3c82fc4..30b0ec5f 100644 --- a/backend/build.gradle +++ b/backend/build.gradle @@ -11,12 +11,6 @@ java { sourceCompatibility = '17' } -bootJar{ - archivesBaseName = 'howAboutTrip' - archiveFileName = 'howAboutTrip.jar' - archiveVersion = "0.0.1" -} - configurations { compileOnly { extendsFrom annotationProcessor @@ -27,8 +21,13 @@ repositories { mavenCentral() } +bootJar{ + archivesBaseName = 'howAboutTrip' + archiveFileName = 'howAboutTrip.jar' + archiveVersion = "0.0.1" +} + dependencies { - runtimeOnly 'mysql:mysql-connector-java' 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'