From 37e8cc90aa74eb2bd40758284e792b9cc1f2f10b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rg=20Prante?= Date: Sat, 15 May 2021 21:08:47 +0200 Subject: [PATCH] enable auto jackson deps for third parties --- content-config/build.gradle | 1 - content-core/build.gradle | 2 +- content-json/build.gradle | 2 +- content-rdf/build.gradle | 1 - content-settings/build.gradle | 1 - content-smile/build.gradle | 2 +- content-xml/build.gradle | 6 +++--- content-yaml/build.gradle | 2 +- 8 files changed, 7 insertions(+), 10 deletions(-) diff --git a/content-config/build.gradle b/content-config/build.gradle index 4129eac..918bc9b 100644 --- a/content-config/build.gradle +++ b/content-config/build.gradle @@ -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')}" } diff --git a/content-core/build.gradle b/content-core/build.gradle index 7eeafc5..ffcf648 100644 --- a/content-core/build.gradle +++ b/content-core/build.gradle @@ -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')}" } diff --git a/content-json/build.gradle b/content-json/build.gradle index 1521370..f198df2 100644 --- a/content-json/build.gradle +++ b/content-json/build.gradle @@ -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' } diff --git a/content-rdf/build.gradle b/content-rdf/build.gradle index 7b14bac..78b780b 100644 --- a/content-rdf/build.gradle +++ b/content-rdf/build.gradle @@ -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')}" } diff --git a/content-settings/build.gradle b/content-settings/build.gradle index 72f8c40..f4477f8 100644 --- a/content-settings/build.gradle +++ b/content-settings/build.gradle @@ -1,5 +1,4 @@ dependencies { api project(':content-core') - implementation "com.fasterxml.jackson.core:jackson-core:${project.property('jackson.version')}" testImplementation project(":content-json") } diff --git a/content-smile/build.gradle b/content-smile/build.gradle index 3f8c49e..83a2cba 100644 --- a/content-smile/build.gradle +++ b/content-smile/build.gradle @@ -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')}" } diff --git a/content-xml/build.gradle b/content-xml/build.gradle index b3e7b8e..5a39e7b 100644 --- a/content-xml/build.gradle +++ b/content-xml/build.gradle @@ -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 } diff --git a/content-yaml/build.gradle b/content-yaml/build.gradle index 15be496..de14a44 100644 --- a/content-yaml/build.gradle +++ b/content-yaml/build.gradle @@ -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')}" }