Preparing for ElasticSearch test

Adding spring-data-elasticsearch dependency just to make sure everything plays nice together
This commit is contained in:
dougqh 2019-09-26 09:57:40 -04:00
parent 56cebb1c0b
commit 5cb0cc7c79
1 changed files with 5 additions and 2 deletions

View File

@ -19,6 +19,9 @@ testSets {
}
}
// DQH - API changes that impact instrumentation occurred in spring-data-commons in March 2014.
// For now, that limits support to spring-data-commons 1.9.0 (maybe 1.8.0).
// For testing, chose a couple spring-data modules that are old enough to work with 1.9.0.
dependencies {
compileOnly(group: 'aopalliance', name: 'aopalliance', version: '1.0')
compileOnly(group: 'org.springframework.data', name: 'spring-data-commons', version: '1.9.0.RELEASE')
@ -28,7 +31,7 @@ dependencies {
testCompile group: 'org.spockframework', name: 'spock-spring', version: "$versions.spock"
testCompile group: 'org.springframework', name: 'spring-test', version: '3.0.0.RELEASE'
testCompile group: 'org.springframework.data', name: 'spring-data-jpa', version: '1.7.0.RELEASE'
// testCompile group: 'org.springframework.data', name: 'spring-data-jdbc', version: '1.0.0.RELEASE'
testCompile group: 'org.springframework.data', name: 'spring-data-elasticsearch', version: '1.1.0.RELEASE'
testCompile group: 'com.mysema.querydsl', name: 'querydsl-jpa', version: '3.7.4'
testCompile group: 'org.hsqldb', name: 'hsqldb', version: '2.0.0'
testCompile group: 'org.hibernate', name: 'hibernate-entitymanager', version: '4.3.0.Final'
@ -38,6 +41,6 @@ dependencies {
latestDepTestCompile group: 'org.springframework.data', name: 'spring-data-commons', version: '1.9.+'
latestDepTestCompile group: 'org.springframework', name: 'spring-aop', version: '+'
latestDepTestCompile group: 'org.springframework.data', name: 'spring-data-jpa', version: '1.7.+'
// latestDepTestCompile group: 'org.springframework.data', name: 'spring-data-jdbc', version: '+'
latestDepTestCompile group: 'org.springframework.data', name: 'spring-data-elasticsearch', version: '1.1.+'
}