add jpa module

This commit is contained in:
2024-02-28 16:39:48 +09:00
parent 32a7d91a1d
commit d2bb77ca33
17 changed files with 337 additions and 6 deletions

34
jpa/build.gradle.kts Normal file
View File

@@ -0,0 +1,34 @@
/*
* Spring-boot Examples
*
* Copyright (c) 2024. Elex. All Rights Reserved.
* https://www.elex-project.com/
*/
plugins {
id("elex-spring-boot")
id("org.springframework.boot") version "3.2.3"
id("io.spring.dependency-management") version "1.1.4"
}
java {
sourceCompatibility = JavaVersion.VERSION_17
}
dependencies {
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
implementation("org.springframework.boot:spring-boot-starter-thymeleaf")
implementation("org.springframework.boot:spring-boot-starter-web")
// https://mvnrepository.com/artifact/com.fasterxml.jackson.datatype/jackson-datatype-jsr310
implementation("com.fasterxml.jackson.datatype:jackson-datatype-jsr310")
runtimeOnly("org.mariadb.jdbc:mariadb-java-client")
implementation ("org.springframework.boot:spring-boot-starter-validation")
compileOnly("org.projectlombok:lombok")
developmentOnly("org.springframework.boot:spring-boot-devtools")
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
annotationProcessor("org.projectlombok:lombok")
testImplementation("org.springframework.boot:spring-boot-starter-test")
}