Skip to content

Commit

Permalink
[Java] Allow patch versions of Agrona.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpt777 committed Aug 29, 2020
1 parent 07354d9 commit 5c7a36c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ def mockitoVersion = '3.5.7'
def junitVersion = '5.6.2'
def jmhVersion = '1.25.1'
def agronaVersion = '1.7.0'
def agronaVersionRange = '[1.7,1.8[' // allow any patch release of 1.7.x

def sbeGroup = 'uk.co.real-logic'
def sbeVersion = file('version.txt').text.trim()
Expand Down Expand Up @@ -201,7 +202,8 @@ project(':sbe-tool') {
dependencies {
api("org.agrona:agrona") {
version {
strictly(agronaVersion)
strictly(agronaVersionRange)
prefer(agronaVersion)
}
}
testImplementation files('build/classes/java/generated')
Expand Down

0 comments on commit 5c7a36c

Please sign in to comment.