Skip to content

Instantly share code, notes, and snippets.

@mmafrar
Created April 2, 2021 15:30
Show Gist options
  • Select an option

  • Save mmafrar/99e02e8bc6910c288b0d6479acfa7fd4 to your computer and use it in GitHub Desktop.

Select an option

Save mmafrar/99e02e8bc6910c288b0d6479acfa7fd4 to your computer and use it in GitHub Desktop.
Implementing Spring Boot MVC CRUD operations with JPA and JSP
plugins {
id 'org.springframework.boot' version '2.4.4'
id 'io.spring.dependency-management' version '1.0.11.RELEASE'
id 'java'
}
group = 'com.example'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.apache.tomcat.embed:tomcat-embed-jasper'
implementation 'javax.servlet:jstl'
compileOnly 'org.projectlombok:lombok'
runtimeOnly 'com.h2database:h2'
annotationProcessor 'org.projectlombok:lombok'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
}
test {
useJUnitPlatform()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment