Set project.ext.dropwizardVersion
@@ -16,12 +16,16 @@ repositories {
mavenCentral()
}
+ext {
+ dropwizardVersion = '1.3.9'
+}
+
dependencies {
compile 'io.dropwizard.metrics:metrics-jdbi3:4.1.0-rc3'
compile 'io.dropwizard.modules:dropwizard-flyway:1.3.0-4'
- compile 'io.dropwizard:dropwizard-core:1.3.9'
- compile 'io.dropwizard:dropwizard-jdbi3:1.3.9'
- compile 'io.dropwizard:dropwizard-json-logging:1.3.9'
+ compile "io.dropwizard:dropwizard-core:${dropwizardVersion}"
+ compile "io.dropwizard:dropwizard-jdbi3:${dropwizardVersion}"
+ compile "io.dropwizard:dropwizard-json-logging:${dropwizardVersion}"
compile 'org.jdbi:jdbi3-postgres:3.6.0'
compile 'org.jdbi:jdbi3-sqlobject:3.6.0'
compile 'org.postgresql:postgresql:42.2.5'
@@ -29,7 +33,7 @@ dependencies {
annotationProcessor 'org.projectlombok:lombok:1.18.6'
testCompile 'junit:junit:4.12'
- testCompile 'io.dropwizard:dropwizard-testing:1.3.9'
+ testCompile "io.dropwizard:dropwizard-testing:${dropwizardVersion}"
testCompile 'org.jdbi:jdbi3-testing:3.3.0'
testCompile 'org.mockito:mockito-core:2.25.1'
}
