enable auto jackson deps for third parties

This commit is contained in:
Jörg Prante 2021-05-15 21:08:47 +02:00
parent 65769e5c1c
commit 37e8cc90aa
8 changed files with 7 additions and 10 deletions

View file

@ -1,5 +1,4 @@
dependencies {
api project(':content-json')
api project(':content-yaml')
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${project.property('jackson.version')}"
}

View file

@ -1,5 +1,5 @@
dependencies {
api project(':content-api')
api "org.xbib:datastructures-tiny:${project.property('xbib-datastructures-tiny.version')}"
implementation "com.fasterxml.jackson.core:jackson-core:${project.property('jackson.version')}"
api "com.fasterxml.jackson.core:jackson-core:${project.property('jackson.version')}"
}

View file

@ -1,7 +1,7 @@
dependencies {
api project(':content-core')
api project(':content-settings')
implementation "com.fasterxml.jackson.core:jackson-databind:${project.property('jackson.version')}"
api "com.fasterxml.jackson.core:jackson-databind:${project.property('jackson.version')}"
testImplementation("org.mockito:mockito-core:${project.property('mockito.version')}") {
exclude group: 'org.hamcrest'
}

View file

@ -3,5 +3,4 @@ dependencies {
implementation project(':content-resource')
implementation project(':content-xml')
implementation project(':content-json')
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${project.property('jackson.version')}"
}

View file

@ -1,5 +1,4 @@
dependencies {
api project(':content-core')
implementation "com.fasterxml.jackson.core:jackson-core:${project.property('jackson.version')}"
testImplementation project(":content-json")
}

View file

@ -1,4 +1,4 @@
dependencies {
api project(':content-core')
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-smile:${project.property('jackson.version')}"
api "com.fasterxml.jackson.dataformat:jackson-dataformat-smile:${project.property('jackson.version')}"
}

View file

@ -1,7 +1,7 @@
dependencies {
implementation project(':content-core')
implementation project(':content-resource')
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${project.property('jackson.version')}"
api project(':content-core')
api project(':content-resource')
api "com.fasterxml.jackson.dataformat:jackson-dataformat-xml:${project.property('jackson.version')}"
runtimeOnly "com.fasterxml.woodstox:woodstox-core:${project.property('woodstox.version')}"
testImplementation project(':content-json') // for XContentHelper reading JSON
}

View file

@ -1,6 +1,6 @@
dependencies {
api project(':content-core')
api project(':content-settings')
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${project.property('jackson.version')}"
api "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${project.property('jackson.version')}"
implementation "org.yaml:snakeyaml:${project.property('snakeyaml.version')}"
}