PAN-7 Initial setup of the persistence with Spring Data JPA

This commit is contained in:
2019-02-14 12:24:34 -07:00
parent 38e88c9f94
commit 2200a6a2d3
31 changed files with 211 additions and 108 deletions
@@ -13,17 +13,24 @@ repositories {
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.12'
compile group: 'org.springframework.data', name: 'spring-data-jpa', version: '2.1.2.RELEASE'
// compile group: 'org.springframework.boot', name: 'spring-boot-starter-data-elasticsearch', version: '2.1.2.RELEASE'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-web', version: '2.1.2.RELEASE'
compile 'javax:javaee-api:7.0'
compile fileTree(dir: 'lib', include: '**/*.jar')
compile 'com.mchange:c3p0:0.9.5.2'
compile 'mysql:mysql-connector-java:5.1.35'
compile 'org.hibernate:hibernate-validator:5.3.4.Final'
compile 'javax.validation:validation-api:1.1.0.Final'
compile('com.googlecode.log4jdbc:log4jdbc:1.2') {
exclude(group: 'org.slf4j')
}
runtimeOnly 'mysql:mysql-connector-java'
testCompile group: 'org.springframework.boot', name: 'spring-boot-starter-test', version: '2.1.2.RELEASE'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile 'javax.el:javax.el-api:3.0.0'
}