make OpenJPA version, used twice, a variable, instead of repeating it

This commit is contained in:
Michael Vorburger.ch
2019-07-03 23:40:17 +02:00
parent c296c314b3
commit e97b12a3f9
2 changed files with 5 additions and 3 deletions
+4 -1
View File
@@ -28,6 +28,9 @@ project.ext.jerseyVersion = '1.17'
project.ext.springDataJpaVersion = '1.7.0.RELEASE' // also change spring-boot-gradle-plugin version below
buildscript {
ext {
openJPAVersion = '2.4.1'
}
repositories {
jcenter()
mavenCentral()
@@ -39,7 +42,7 @@ buildscript {
'nl.javadude.gradle.plugins:license-gradle-plugin:0.11.0',
'org.zeroturnaround:gradle-jrebel-plugin:1.1.2',
'org.springframework.boot:spring-boot-gradle-plugin:1.1.6.RELEASE' // also change springDataJpaVersion above
classpath 'org.apache.openjpa:openjpa-all:2.4.1'
classpath "org.apache.openjpa:openjpa-all:$openJPAVersion"
classpath 'at.schmutterer.oss.gradle:gradle-openjpa:0.2.0'
classpath 'gradle.plugin.org.nosphere.apache:creadur-rat-gradle:0.2.2'
}