From 034a2a5e3cc4c00c3d20ec9fdf82e3fa3f49695b Mon Sep 17 00:00:00 2001 From: KKlochko Date: Mon, 6 Nov 2023 21:30:10 +0200 Subject: [PATCH] Update the gradle and maven configuration. --- build.gradle | 6 ++++-- pom.xml | 11 ++++++++--- settings.gradle | 2 +- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index 1e397ab..9c1ee29 100644 --- a/build.gradle +++ b/build.gradle @@ -5,10 +5,10 @@ plugins { } version = "1.0.2" -description = "Example of using jdbc for a hostpital." +description = "Example of using jpa for a hostpital." application { - mainClassName = 'space.kklochko.jdbc_hospital_example.Main' + mainClassName = 'space.kklochko.jpa_hospital_example.Main' } shadowJar { @@ -36,6 +36,8 @@ repositories { } dependencies { + implementation 'org.hibernate.orm:hibernate-core:6.3.0.Final' + compileOnly 'org.projectlombok:lombok:1.18.30' annotationProcessor 'org.projectlombok:lombok:1.18.30' diff --git a/pom.xml b/pom.xml index 08f694d..32547a6 100644 --- a/pom.xml +++ b/pom.xml @@ -3,10 +3,10 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 space.kklochko - jdbc_hospital_example + jpa_hospital_example 1.0.2 jar - Example of using jdbc for a hostpital. + Example of using jpa for a hostpital. UTF-8 @@ -25,7 +25,7 @@ - space.kklochko.jdbc_hospital_example.Main + space.kklochko.jpa_hospital_example.Main true @@ -105,6 +105,11 @@ + + org.hibernate.orm + hibernate-core + 6.3.0.Final + org.projectlombok lombok diff --git a/settings.gradle b/settings.gradle index 16eb0aa..aefdef7 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1 @@ -rootProject.name = "jdbc_hospital_example" \ No newline at end of file +rootProject.name = "jpa_hospital_example"