diff --git a/core/build.gradle.kts b/core/build.gradle.kts index b1d610c9d2..c62669546d 100644 --- a/core/build.gradle.kts +++ b/core/build.gradle.kts @@ -12,8 +12,10 @@ dependencies { val jsoup_version: String by project implementation("org.jsoup:jsoup:$jsoup_version") - implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.11.1") - implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.11.1") + + val jackson_version: String by project + implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version") + implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:$jackson_version") val coroutines_version: String by project implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version") diff --git a/gradle.properties b/gradle.properties index 0532c422a5..585816e6c7 100644 --- a/gradle.properties +++ b/gradle.properties @@ -10,6 +10,7 @@ kotlin_plugin_version=202-1.5.0-release-755-release-IJ8194.7 jsoup_version=1.13.1 idea_version=202.7660.26 language_version=1.4 +jackson_version=2.12.4 # Code style kotlin.code.style=official # Gradle settings diff --git a/plugins/all-modules-page/build.gradle.kts b/plugins/all-modules-page/build.gradle.kts index ac38afe175..9ab299f63a 100644 --- a/plugins/all-modules-page/build.gradle.kts +++ b/plugins/all-modules-page/build.gradle.kts @@ -16,7 +16,8 @@ dependencies { val coroutines_version: String by project implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version") - implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.11.1") + val jackson_version: String by project + implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version") val kotlinx_html_version: String by project implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:$kotlinx_html_version") diff --git a/plugins/base/build.gradle.kts b/plugins/base/build.gradle.kts index 3a4ee539de..c9f57df86a 100644 --- a/plugins/base/build.gradle.kts +++ b/plugins/base/build.gradle.kts @@ -8,7 +8,9 @@ dependencies { api(project(":kotlin-analysis")) val jsoup_version: String by project implementation("org.jsoup:jsoup:$jsoup_version") - implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.11.1") + + val jackson_version: String by project + implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version") testImplementation(project(":plugins:base:base-test-utils")) testImplementation(project(":core:content-matcher-test-utils")) diff --git a/plugins/gfm/build.gradle.kts b/plugins/gfm/build.gradle.kts index 6400dba1b5..8b1be11df6 100644 --- a/plugins/gfm/build.gradle.kts +++ b/plugins/gfm/build.gradle.kts @@ -4,7 +4,8 @@ dependencies { implementation(project(":plugins:base")) testImplementation(project(":plugins:base")) testImplementation(project(":plugins:base:base-test-utils")) - implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.11.1") + val jackson_version: String by project + implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version") } registerDokkaArtifactPublication("gfmPlugin") { diff --git a/plugins/templating/build.gradle.kts b/plugins/templating/build.gradle.kts index c28dd2c439..d6d602ddf6 100644 --- a/plugins/templating/build.gradle.kts +++ b/plugins/templating/build.gradle.kts @@ -9,7 +9,8 @@ dependencies { val coroutines_version: String by project implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version") - implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.11.1") + val jackson_version: String by project + implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version") val kotlinx_html_version: String by project implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:$kotlinx_html_version") diff --git a/plugins/versioning/build.gradle.kts b/plugins/versioning/build.gradle.kts index 776eea956a..894ce77ab6 100644 --- a/plugins/versioning/build.gradle.kts +++ b/plugins/versioning/build.gradle.kts @@ -10,7 +10,8 @@ dependencies { val coroutines_version: String by project implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version") - implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.11.1") + val jackson_version: String by project + implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version") val kotlinx_html_version: String by project implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:$kotlinx_html_version") diff --git a/runners/gradle-plugin/build.gradle.kts b/runners/gradle-plugin/build.gradle.kts index ed053d3414..f9b8491bc0 100644 --- a/runners/gradle-plugin/build.gradle.kts +++ b/runners/gradle-plugin/build.gradle.kts @@ -11,7 +11,9 @@ repositories { dependencies { api(project(":core")) - compileOnly("com.fasterxml.jackson.core:jackson-annotations:2.11.1") + + val jackson_version: String by project + compileOnly("com.fasterxml.jackson.core:jackson-annotations:$jackson_version") compileOnly("org.jetbrains.kotlin:kotlin-gradle-plugin") compileOnly("com.android.tools.build:gradle:4.0.1") compileOnly(gradleApi())