Skip to content

Commit

Permalink
Export Jackson deps
Browse files Browse the repository at this point in the history
  • Loading branch information
JPercival committed Feb 23, 2024
1 parent 6154fb0 commit c9ac09f
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 11 deletions.
6 changes: 5 additions & 1 deletion Src/java/cql-to-elm/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ plugins {
id 'cql.xjc-conventions'
}

ext {
jacksonVersion = project['jackson.version']
}

dependencies {
api project(':cql')
api project(':model')
Expand All @@ -14,7 +18,7 @@ dependencies {
// in the cql-to-elm project. Ideally, we'd factor out all serialization depedencies into common
// libraries such that we could swap out jackson for something else. In the meantime, these are
// "implementation" dependencies so that they are not exported downstream.
implementation 'com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations:2.15.2'
implementation "com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations:${jacksonVersion}"
testImplementation project(':elm-jackson')
testImplementation project(':model-jackson')
testImplementation project(':quick')
Expand Down
11 changes: 6 additions & 5 deletions Src/java/elm-jackson/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ plugins {
id 'cql.library-conventions'
}

ext {
jacksonVersion = properties['jackson.version']
}

dependencies {
api project(':model')
api project(':elm')
implementation 'org.apache.commons:commons-text:1.10.0'
implementation 'com.fasterxml.jackson.core:jackson-core:2.16.1'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.16.1'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.16.1'
implementation 'com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations:2.16.1'
api "com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${jacksonVersion}"
api "com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations:${jacksonVersion}"
}
1 change: 0 additions & 1 deletion Src/java/elm-jaxb/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ plugins {

dependencies {
api project(':elm')
implementation 'org.apache.commons:commons-text:1.10.0'
}
1 change: 1 addition & 0 deletions Src/java/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ group=info.cqframework
version=3.8.0-SNAPSHOT
specification.version=1.5.2
hapi.version=7.0.0
jackson.version=2.16.1
antlr.version=4.13.1
android.api.level=28
10 changes: 6 additions & 4 deletions Src/java/model-jackson/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@ plugins {
id 'cql.library-conventions'
}

ext {
jacksonVersion = project['jackson.version']
}

dependencies {
api project(':model')
implementation 'com.fasterxml.jackson.core:jackson-core:2.16.1'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.16.1'
implementation 'com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.16.1'
implementation 'com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations:2.16.1'
api "com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${jacksonVersion}"
api "com.fasterxml.jackson.module:jackson-module-jakarta-xmlbind-annotations:${jacksonVersion}"

testImplementation project(":quick")
testImplementation project(":qdm")
Expand Down

0 comments on commit c9ac09f

Please sign in to comment.