Update the gradle and maven configuration.

main
KKlochko 2 years ago
parent 0a36bb1ece
commit 034a2a5e3c

@ -5,10 +5,10 @@ plugins {
} }
version = "1.0.2" version = "1.0.2"
description = "Example of using jdbc for a hostpital." description = "Example of using jpa for a hostpital."
application { application {
mainClassName = 'space.kklochko.jdbc_hospital_example.Main' mainClassName = 'space.kklochko.jpa_hospital_example.Main'
} }
shadowJar { shadowJar {
@ -36,6 +36,8 @@ repositories {
} }
dependencies { dependencies {
implementation 'org.hibernate.orm:hibernate-core:6.3.0.Final'
compileOnly 'org.projectlombok:lombok:1.18.30' compileOnly 'org.projectlombok:lombok:1.18.30'
annotationProcessor 'org.projectlombok:lombok:1.18.30' annotationProcessor 'org.projectlombok:lombok:1.18.30'

@ -3,10 +3,10 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>space.kklochko</groupId> <groupId>space.kklochko</groupId>
<artifactId>jdbc_hospital_example</artifactId> <artifactId>jpa_hospital_example</artifactId>
<version>1.0.2</version> <version>1.0.2</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>Example of using jdbc for a hostpital.</name> <name>Example of using jpa for a hostpital.</name>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@ -25,7 +25,7 @@
<configuration> <configuration>
<archive> <archive>
<manifest> <manifest>
<mainClass>space.kklochko.jdbc_hospital_example.Main</mainClass> <mainClass>space.kklochko.jpa_hospital_example.Main</mainClass>
<addClasspath>true</addClasspath> <addClasspath>true</addClasspath>
</manifest> </manifest>
</archive> </archive>
@ -105,6 +105,11 @@
</dependencyManagement> </dependencyManagement>
<dependencies> <dependencies>
<dependency>
<groupId>org.hibernate.orm</groupId>
<artifactId>hibernate-core</artifactId>
<version>6.3.0.Final</version>
</dependency>
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>

@ -1 +1 @@
rootProject.name = "jdbc_hospital_example" rootProject.name = "jpa_hospital_example"

Loading…
Cancel
Save