Update the gradle and maven configuration.
This commit is contained in:
+4
-2
@@ -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'
|
||||
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>space.kklochko</groupId>
|
||||
<artifactId>jdbc_hospital_example</artifactId>
|
||||
<artifactId>jpa_hospital_example</artifactId>
|
||||
<version>1.0.2</version>
|
||||
<packaging>jar</packaging>
|
||||
<name>Example of using jdbc for a hostpital.</name>
|
||||
<name>Example of using jpa for a hostpital.</name>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
@@ -25,7 +25,7 @@
|
||||
<configuration>
|
||||
<archive>
|
||||
<manifest>
|
||||
<mainClass>space.kklochko.jdbc_hospital_example.Main</mainClass>
|
||||
<mainClass>space.kklochko.jpa_hospital_example.Main</mainClass>
|
||||
<addClasspath>true</addClasspath>
|
||||
</manifest>
|
||||
</archive>
|
||||
@@ -105,6 +105,11 @@
|
||||
</dependencyManagement>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.hibernate.orm</groupId>
|
||||
<artifactId>hibernate-core</artifactId>
|
||||
<version>6.3.0.Final</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.projectlombok</groupId>
|
||||
<artifactId>lombok</artifactId>
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
rootProject.name = "jdbc_hospital_example"
|
||||
rootProject.name = "jpa_hospital_example"
|
||||
|
||||
Reference in New Issue
Block a user