From 7cc9081da0b26353f3df60fffbe31d5f87b59d9a Mon Sep 17 00:00:00 2001 From: Zakharov_Rostislav Date: Wed, 3 Apr 2024 11:16:04 +0400 Subject: [PATCH] lab-2 build successful!!!! --- SpringApp/.vscode/settings.json | 3 ++- SpringApp/library/build.gradle | 3 +-- .../src/main/java/com/ip/library/LibraryApplication.java | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/SpringApp/.vscode/settings.json b/SpringApp/.vscode/settings.json index c13085d..572b0c0 100644 --- a/SpringApp/.vscode/settings.json +++ b/SpringApp/.vscode/settings.json @@ -1,3 +1,4 @@ { - "java.compile.nullAnalysis.mode": "automatic" + "java.compile.nullAnalysis.mode": "automatic", + "java.configuration.updateBuildConfiguration": "interactive" } \ No newline at end of file diff --git a/SpringApp/library/build.gradle b/SpringApp/library/build.gradle index 9e349fa..ab72f99 100644 --- a/SpringApp/library/build.gradle +++ b/SpringApp/library/build.gradle @@ -1,6 +1,6 @@ plugins { id 'java' - id 'org.springframework.boot' version '3.2.2' + id 'org.springframework.boot' version '3.2.4' id 'io.spring.dependency-management' version '1.1.4' } @@ -19,7 +19,6 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.3.0' implementation 'org.modelmapper:modelmapper:3.2.0' - implementation 'org.springframework.boot:spring-boot-validation' testImplementation 'org.springframework.boot:spring-boot-starter-test' } diff --git a/SpringApp/library/src/main/java/com/ip/library/LibraryApplication.java b/SpringApp/library/src/main/java/com/ip/library/LibraryApplication.java index 2228384..323416a 100644 --- a/SpringApp/library/src/main/java/com/ip/library/LibraryApplication.java +++ b/SpringApp/library/src/main/java/com/ip/library/LibraryApplication.java @@ -17,6 +17,7 @@ import com.ip.library.users.model.UserEntity; import com.ip.library.users.service.UserService; +@SuppressWarnings("unused") @SpringBootApplication public class LibraryApplication implements CommandLineRunner { private final Logger log = LoggerFactory.getLogger(LibraryApplication.class);