aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/all-modules-page/build.gradle.kts43
-rw-r--r--plugins/android-documentation/build.gradle.kts18
-rw-r--r--plugins/base/base-test-utils/build.gradle.kts21
-rw-r--r--plugins/base/build.gradle.kts52
-rw-r--r--plugins/base/frontend/build.gradle.kts2
-rw-r--r--plugins/gfm/build.gradle.kts25
-rw-r--r--plugins/gfm/gfm-template-processing/build.gradle.kts23
-rw-r--r--plugins/javadoc/build.gradle.kts31
-rw-r--r--plugins/jekyll/build.gradle.kts15
-rw-r--r--plugins/jekyll/jekyll-template-processing/build.gradle.kts26
-rw-r--r--plugins/kotlin-as-java/build.gradle.kts26
-rw-r--r--plugins/mathjax/build.gradle.kts22
-rw-r--r--plugins/templating/build.gradle.kts32
-rw-r--r--plugins/versioning/build.gradle.kts33
14 files changed, 168 insertions, 201 deletions
diff --git a/plugins/all-modules-page/build.gradle.kts b/plugins/all-modules-page/build.gradle.kts
index ef91b9ee..1f648932 100644
--- a/plugins/all-modules-page/build.gradle.kts
+++ b/plugins/all-modules-page/build.gradle.kts
@@ -10,37 +10,30 @@ registerDokkaArtifactPublication("dokkaAllModulesPage") {
}
dependencies {
- compileOnly(project(":core"))
- implementation(kotlin("stdlib-jdk8"))
- implementation(kotlin("stdlib"))
+ compileOnly(projects.core)
implementation(kotlin("reflect"))
- compileOnly(project(":kotlin-analysis"))
- implementation(project(":plugins:base"))
- implementation(project(":plugins:templating"))
- testImplementation(project(":plugins:base"))
- testImplementation(project(":plugins:base:base-test-utils"))
- testImplementation(project(":plugins:gfm"))
- testImplementation(project(":plugins:gfm:gfm-template-processing"))
- testImplementation(project(":core:content-matcher-test-utils"))
+ compileOnly(projects.kotlinAnalysis)
+ implementation(projects.plugins.base)
+ implementation(projects.plugins.templating)
+ testImplementation(projects.plugins.base)
+ testImplementation(projects.plugins.base.baseTestUtils)
+ testImplementation(projects.plugins.gfm)
+ testImplementation(projects.plugins.gfm.gfmTemplateProcessing)
+ testImplementation(projects.core.contentMatcherTestUtils)
- val coroutines_version: String by project
- implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version")
- val jackson_version: String by project
- implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version")
- val jackson_databind_version: String by project
+ implementation(libs.kotlinx.coroutines.core)
+ implementation(libs.jackson.kotlin)
constraints {
- implementation("com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version") {
+ implementation(libs.jackson.databind) {
because("CVE-2022-42003")
}
}
- val kotlinx_html_version: String by project
- implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:$kotlinx_html_version")
+ implementation(libs.kotlinx.html)
+ implementation(libs.jsoup)
- val jsoup_version: String by project
- implementation("org.jsoup:jsoup:$jsoup_version")
-
- testImplementation(project(":test-utils"))
- testImplementation(project(":core:test-api"))
- testImplementation("org.junit.jupiter:junit-jupiter:5.6.0")
+ testImplementation(projects.testUtils)
+ testImplementation(projects.core.testApi)
+ testImplementation(platform(libs.junit.bom))
+ testImplementation(libs.junit.jupiter)
}
diff --git a/plugins/android-documentation/build.gradle.kts b/plugins/android-documentation/build.gradle.kts
index e0766ab4..9a94a44c 100644
--- a/plugins/android-documentation/build.gradle.kts
+++ b/plugins/android-documentation/build.gradle.kts
@@ -6,17 +6,17 @@ plugins {
}
dependencies {
- compileOnly(project(":core"))
- implementation(kotlin("stdlib-jdk8"))
- implementation(kotlin("stdlib"))
+ compileOnly(projects.core)
+
implementation(kotlin("reflect"))
+ implementation(projects.plugins.base)
- implementation(project(":plugins:base"))
- testImplementation(project(":plugins:base"))
- testImplementation(project(":plugins:base:base-test-utils"))
- testImplementation(project(":test-utils"))
- testImplementation(project(":core:test-api"))
- testImplementation("org.junit.jupiter:junit-jupiter:5.6.0")
+ testImplementation(projects.plugins.base)
+ testImplementation(projects.plugins.base.baseTestUtils)
+ testImplementation(projects.testUtils)
+ testImplementation(projects.core.testApi)
+ testImplementation(platform(libs.junit.bom))
+ testImplementation(libs.junit.jupiter)
}
registerDokkaArtifactPublication("androidDocumentationPlugin") {
diff --git a/plugins/base/base-test-utils/build.gradle.kts b/plugins/base/base-test-utils/build.gradle.kts
index 36ff2011..924a96c8 100644
--- a/plugins/base/base-test-utils/build.gradle.kts
+++ b/plugins/base/base-test-utils/build.gradle.kts
@@ -6,20 +6,21 @@ plugins {
}
dependencies {
- compileOnly(project(":core"))
- implementation(kotlin("stdlib-jdk8"))
- implementation(kotlin("stdlib"))
+ compileOnly(projects.core)
+
+
implementation(kotlin("reflect"))
- compileOnly(project(":plugins:base"))
- implementation(project(":core:test-api"))
- val jsoup_version: String by project
- implementation("org.jsoup:jsoup:$jsoup_version")
+ compileOnly(projects.plugins.base)
+ implementation(projects.core.testApi)
+
+ implementation(libs.jsoup)
implementation(kotlin("test-junit"))
- testImplementation(project(":test-utils"))
- testImplementation(project(":core:test-api"))
- testImplementation("org.junit.jupiter:junit-jupiter:5.6.0")
+ testImplementation(projects.testUtils)
+ testImplementation(projects.core.testApi)
+ testImplementation(platform(libs.junit.bom))
+ testImplementation(libs.junit.jupiter)
}
registerDokkaArtifactPublication("dokkaBaseTestUtils") {
diff --git a/plugins/base/build.gradle.kts b/plugins/base/build.gradle.kts
index 2bbfaa8c..b8e63b17 100644
--- a/plugins/base/build.gradle.kts
+++ b/plugins/base/build.gradle.kts
@@ -6,59 +6,55 @@ plugins {
}
dependencies {
- compileOnly(project(":core"))
- implementation(kotlin("stdlib-jdk8"))
- implementation(kotlin("stdlib"))
+ compileOnly(projects.core)
+
implementation(kotlin("reflect"))
- val coroutines_version: String by project
- implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version")
+ implementation(libs.kotlinx.coroutines.core)
- compileOnly(project(":kotlin-analysis"))
- val jsoup_version: String by project
- implementation("org.jsoup:jsoup:$jsoup_version")
+ compileOnly(projects.kotlinAnalysis)
+ implementation(libs.jsoup)
- val jackson_version: String by project
- implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version")
- val jackson_databind_version: String by project
+ implementation(libs.jackson.kotlin)
constraints {
- implementation("com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version") {
+ implementation(libs.jackson.databind) {
because("CVE-2022-42003")
}
}
- val freemarker_version: String by project
- implementation("org.freemarker:freemarker:$freemarker_version")
+ implementation(libs.freemarker)
- testImplementation(project(":plugins:base:base-test-utils"))
- testImplementation(project(":core:content-matcher-test-utils"))
+ testImplementation(projects.plugins.base.baseTestUtils)
+ testImplementation(projects.core.contentMatcherTestUtils)
- val kotlinx_html_version: String by project
- implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:$kotlinx_html_version")
+ implementation(libs.kotlinx.html)
- testImplementation(project(":kotlin-analysis"))
- testImplementation(project(":test-utils"))
- testImplementation(project(":core:test-api"))
- testImplementation("org.junit.jupiter:junit-jupiter:5.6.0")
+ testImplementation(projects.kotlinAnalysis)
+ testImplementation(projects.testUtils)
+ testImplementation(projects.core.testApi)
+ testImplementation(platform(libs.junit.bom))
+ testImplementation(libs.junit.jupiter)
}
val projectDistDir = project(":plugins:base:frontend").file("dist")
val generateFrontendFiles = tasks.getByPath(":plugins:base:frontend:generateFrontendFiles")
-val copyJsFiles by tasks.registering(Copy::class){
- from(projectDistDir){
+val copyJsFiles by tasks.registering(Copy::class) {
+ from(projectDistDir) {
include("*.js")
}
dependsOn(generateFrontendFiles)
- destinationDir = File(sourceSets.main.get().resources.sourceDirectories.singleFile, "dokka/scripts")
+ destinationDir =
+ File(sourceSets.main.get().resources.sourceDirectories.singleFile, "dokka/scripts")
}
-val copyCssFiles by tasks.registering(Copy::class){
- from(projectDistDir){
+val copyCssFiles by tasks.registering(Copy::class) {
+ from(projectDistDir) {
include("*.css")
}
dependsOn(generateFrontendFiles)
- destinationDir = File(sourceSets.main.get().resources.sourceDirectories.singleFile, "dokka/styles")
+ destinationDir =
+ File(sourceSets.main.get().resources.sourceDirectories.singleFile, "dokka/styles")
}
val copyFrontend by tasks.registering {
diff --git a/plugins/base/frontend/build.gradle.kts b/plugins/base/frontend/build.gradle.kts
index 9ed576cd..f837575e 100644
--- a/plugins/base/frontend/build.gradle.kts
+++ b/plugins/base/frontend/build.gradle.kts
@@ -4,7 +4,7 @@ plugins {
}
node {
- version.set("16.13.0")
+ version.set(libs.versions.node)
download.set(true)
}
diff --git a/plugins/gfm/build.gradle.kts b/plugins/gfm/build.gradle.kts
index 8892362b..6cdadefb 100644
--- a/plugins/gfm/build.gradle.kts
+++ b/plugins/gfm/build.gradle.kts
@@ -6,22 +6,19 @@ plugins {
}
dependencies {
- compileOnly(project(":core"))
- implementation(kotlin("stdlib-jdk8"))
- implementation(kotlin("stdlib"))
+ compileOnly(projects.core)
implementation(kotlin("reflect"))
- implementation(project(":plugins:base"))
- testImplementation(project(":plugins:base"))
- testImplementation(project(":plugins:base:base-test-utils"))
- val jackson_version: String by project
- implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version")
- testImplementation(project(":test-utils"))
- testImplementation(project(":core:test-api"))
- testImplementation("org.junit.jupiter:junit-jupiter:5.6.0")
-
- val jackson_databind_version: String by project
+ implementation(projects.plugins.base)
+ testImplementation(projects.plugins.base)
+ testImplementation(projects.plugins.base.baseTestUtils)
+ implementation(libs.jackson.kotlin)
+ testImplementation(projects.testUtils)
+ testImplementation(projects.core.testApi)
+ testImplementation(platform(libs.junit.bom))
+ testImplementation(libs.junit.jupiter)
+
constraints {
- implementation("com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version") {
+ implementation(libs.jackson.databind) {
because("CVE-2022-42003")
}
}
diff --git a/plugins/gfm/gfm-template-processing/build.gradle.kts b/plugins/gfm/gfm-template-processing/build.gradle.kts
index 41790b44..75634ed2 100644
--- a/plugins/gfm/gfm-template-processing/build.gradle.kts
+++ b/plugins/gfm/gfm-template-processing/build.gradle.kts
@@ -6,21 +6,20 @@ plugins {
}
dependencies {
- compileOnly(project(":core"))
- implementation(kotlin("stdlib-jdk8"))
- implementation(kotlin("stdlib"))
+ compileOnly(projects.core)
+
implementation(kotlin("reflect"))
- implementation(project(":plugins:base"))
- implementation(project(":plugins:gfm"))
- implementation(project(":plugins:all-modules-page"))
- implementation(project(":plugins:templating"))
+ implementation(projects.plugins.base)
+ implementation(projects.plugins.gfm)
+ implementation(projects.plugins.allModulesPage)
+ implementation(projects.plugins.templating)
- val coroutines_version: String by project
- implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version")
+ implementation(libs.kotlinx.coroutines.core)
- testImplementation(project(":test-utils"))
- testImplementation(project(":core:test-api"))
- testImplementation("org.junit.jupiter:junit-jupiter:5.6.0")
+ testImplementation(projects.testUtils)
+ testImplementation(projects.core.testApi)
+ testImplementation(platform(libs.junit.bom))
+ testImplementation(libs.junit.jupiter)
}
registerDokkaArtifactPublication("dokkaGfmTemplateProcessing") {
diff --git a/plugins/javadoc/build.gradle.kts b/plugins/javadoc/build.gradle.kts
index f2920730..97e3a046 100644
--- a/plugins/javadoc/build.gradle.kts
+++ b/plugins/javadoc/build.gradle.kts
@@ -6,28 +6,25 @@ plugins {
}
dependencies {
- compileOnly(project(":core"))
- implementation(kotlin("stdlib-jdk8"))
- implementation(kotlin("stdlib"))
+ compileOnly(projects.core)
+ compileOnly(projects.kotlinAnalysis)
+
implementation(kotlin("reflect"))
- compileOnly(project(":kotlin-analysis"))
- implementation("com.soywiz.korlibs.korte:korte-jvm:2.7.0")
- implementation(project(":plugins:base"))
- implementation(project(":plugins:kotlin-as-java"))
- testImplementation(project(":plugins:base:base-test-utils"))
+ implementation(libs.soywiz.korte)
+ implementation(projects.plugins.base)
+ implementation(projects.plugins.kotlinAsJava)
- val kotlinx_html_version: String by project
- implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:$kotlinx_html_version")
+ implementation(libs.kotlinx.html)
+ implementation(libs.kotlinx.coroutines.core)
- val coroutines_version: String by project
- implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version")
+ testImplementation(projects.plugins.base.baseTestUtils)
+ testImplementation(projects.testUtils)
+ testImplementation(projects.core.testApi)
- val jsoup_version: String by project
- testImplementation("org.jsoup:jsoup:$jsoup_version")
+ testImplementation(libs.jsoup)
- testImplementation(project(":test-utils"))
- testImplementation(project(":core:test-api"))
- testImplementation("org.junit.jupiter:junit-jupiter:5.6.0")
+ testImplementation(platform(libs.junit.bom))
+ testImplementation(libs.junit.jupiter)
}
registerDokkaArtifactPublication("javadocPlugin") {
diff --git a/plugins/jekyll/build.gradle.kts b/plugins/jekyll/build.gradle.kts
index 1291c56d..489b5e00 100644
--- a/plugins/jekyll/build.gradle.kts
+++ b/plugins/jekyll/build.gradle.kts
@@ -6,16 +6,15 @@ plugins {
}
dependencies {
- compileOnly(project(":core"))
- implementation(kotlin("stdlib-jdk8"))
- implementation(kotlin("stdlib"))
+ compileOnly(projects.core)
implementation(kotlin("reflect"))
- implementation(project(":plugins:base"))
- implementation(project(":plugins:gfm"))
+ implementation(projects.plugins.base)
+ implementation(projects.plugins.gfm)
- testImplementation(project(":test-utils"))
- testImplementation(project(":core:test-api"))
- testImplementation("org.junit.jupiter:junit-jupiter:5.6.0")
+ testImplementation(projects.testUtils)
+ testImplementation(projects.core.testApi)
+ testImplementation(platform(libs.junit.bom))
+ testImplementation(libs.junit.jupiter)
}
registerDokkaArtifactPublication("jekyllPlugin") {
diff --git a/plugins/jekyll/jekyll-template-processing/build.gradle.kts b/plugins/jekyll/jekyll-template-processing/build.gradle.kts
index 6cfb48f2..354c4ee7 100644
--- a/plugins/jekyll/jekyll-template-processing/build.gradle.kts
+++ b/plugins/jekyll/jekyll-template-processing/build.gradle.kts
@@ -6,24 +6,22 @@ plugins {
}
dependencies {
- compileOnly(project(":core"))
- implementation(kotlin("stdlib-jdk8"))
- implementation(kotlin("stdlib"))
+ compileOnly(projects.core)
implementation(kotlin("reflect"))
- implementation(project(":plugins:base"))
- implementation(project(":plugins:jekyll"))
- implementation(project(":plugins:all-modules-page"))
- implementation(project(":plugins:templating"))
- implementation(project(":plugins:gfm"))
- implementation(project(":plugins:gfm:gfm-template-processing"))
+ implementation(projects.plugins.base)
+ implementation(projects.plugins.jekyll)
+ implementation(projects.plugins.allModulesPage)
+ implementation(projects.plugins.templating)
+ implementation(projects.plugins.gfm)
+ implementation(projects.plugins.gfm.gfmTemplateProcessing)
- val coroutines_version: String by project
- implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version")
+ implementation(libs.kotlinx.coroutines.core)
- testImplementation(project(":test-utils"))
- testImplementation(project(":core:test-api"))
- testImplementation("org.junit.jupiter:junit-jupiter:5.6.0")
+ testImplementation(projects.testUtils)
+ testImplementation(projects.core.testApi)
+ testImplementation(platform(libs.junit.bom))
+ testImplementation(libs.junit.jupiter)
}
registerDokkaArtifactPublication("dokkaJekyllTemplateProcessing") {
diff --git a/plugins/kotlin-as-java/build.gradle.kts b/plugins/kotlin-as-java/build.gradle.kts
index 97989697..cfebcfaa 100644
--- a/plugins/kotlin-as-java/build.gradle.kts
+++ b/plugins/kotlin-as-java/build.gradle.kts
@@ -6,22 +6,20 @@ plugins {
}
dependencies {
- compileOnly(project(":core"))
- implementation(kotlin("stdlib-jdk8"))
- implementation(kotlin("stdlib"))
+ compileOnly(projects.core)
implementation(kotlin("reflect"))
- compileOnly(project(":kotlin-analysis"))
- implementation(project(":plugins:base"))
- testImplementation(project(":plugins:base"))
- testImplementation(project(":plugins:base:base-test-utils"))
- testImplementation(project(":core:content-matcher-test-utils"))
- val jsoup_version: String by project
- testImplementation("org.jsoup:jsoup:$jsoup_version")
- testImplementation(project(":kotlin-analysis"))
+ compileOnly(projects.kotlinAnalysis)
+ implementation(projects.plugins.base)
+ testImplementation(projects.plugins.base)
+ testImplementation(projects.plugins.base.baseTestUtils)
+ testImplementation(projects.core.contentMatcherTestUtils)
+ testImplementation(libs.jsoup)
+ testImplementation(projects.kotlinAnalysis)
- testImplementation(project(":test-utils"))
- testImplementation(project(":core:test-api"))
- testImplementation("org.junit.jupiter:junit-jupiter:5.6.0")
+ testImplementation(projects.testUtils)
+ testImplementation(projects.core.testApi)
+ testImplementation(platform(libs.junit.bom))
+ testImplementation(libs.junit.jupiter)
}
registerDokkaArtifactPublication("kotlinAsJavaPlugin") {
diff --git a/plugins/mathjax/build.gradle.kts b/plugins/mathjax/build.gradle.kts
index 4219a66b..d4e5979a 100644
--- a/plugins/mathjax/build.gradle.kts
+++ b/plugins/mathjax/build.gradle.kts
@@ -6,22 +6,20 @@ plugins {
}
dependencies {
- compileOnly(project(":core"))
- implementation(kotlin("stdlib-jdk8"))
- implementation(kotlin("stdlib"))
+ compileOnly(projects.core)
implementation(kotlin("reflect"))
- implementation(project(":plugins:base"))
+ implementation(projects.plugins.base)
- val jsoup_version: String by project
- testImplementation("org.jsoup:jsoup:$jsoup_version")
- testImplementation(project(":plugins:base:base-test-utils"))
- testImplementation(project(":core:content-matcher-test-utils"))
+ testImplementation(libs.jsoup)
+ testImplementation(projects.plugins.base.baseTestUtils)
+ testImplementation(projects.core.contentMatcherTestUtils)
testImplementation(kotlin("test-junit"))
- testImplementation(project(":kotlin-analysis"))
+ testImplementation(projects.kotlinAnalysis)
- testImplementation(project(":test-utils"))
- testImplementation(project(":core:test-api"))
- testImplementation("org.junit.jupiter:junit-jupiter:5.6.0")
+ testImplementation(projects.testUtils)
+ testImplementation(projects.core.testApi)
+ testImplementation(platform(libs.junit.bom))
+ testImplementation(libs.junit.jupiter)
}
registerDokkaArtifactPublication("mathjaxPlugin") {
diff --git a/plugins/templating/build.gradle.kts b/plugins/templating/build.gradle.kts
index c4d91993..e4ed093e 100644
--- a/plugins/templating/build.gradle.kts
+++ b/plugins/templating/build.gradle.kts
@@ -10,30 +10,26 @@ registerDokkaArtifactPublication("templating-plugin") {
}
dependencies {
- compileOnly(project(":core"))
- implementation(kotlin("stdlib-jdk8"))
- implementation(kotlin("stdlib"))
+ compileOnly(projects.core)
+
+
implementation(kotlin("reflect"))
- implementation(project(":plugins:base"))
+ implementation(projects.plugins.base)
- val coroutines_version: String by project
- implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version")
- val jackson_version: String by project
- implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version")
- val jackson_databind_version: String by project
+ implementation(libs.kotlinx.coroutines.core)
+ implementation(libs.jackson.kotlin)
constraints {
- implementation("com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version") {
+ implementation(libs.jackson.databind) {
because("CVE-2022-42003")
}
}
- val kotlinx_html_version: String by project
- implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:$kotlinx_html_version")
+ implementation(libs.kotlinx.html)
- val jsoup_version: String by project
- implementation("org.jsoup:jsoup:$jsoup_version")
- testImplementation(project(":plugins:base:base-test-utils"))
+ implementation(libs.jsoup)
+ testImplementation(projects.plugins.base.baseTestUtils)
- testImplementation(project(":test-utils"))
- testImplementation(project(":core:test-api"))
- testImplementation("org.junit.jupiter:junit-jupiter:5.6.0")
+ testImplementation(projects.testUtils)
+ testImplementation(projects.core.testApi)
+ testImplementation(platform(libs.junit.bom))
+ testImplementation(libs.junit.jupiter)
}
diff --git a/plugins/versioning/build.gradle.kts b/plugins/versioning/build.gradle.kts
index eafd094f..d2363429 100644
--- a/plugins/versioning/build.gradle.kts
+++ b/plugins/versioning/build.gradle.kts
@@ -10,31 +10,26 @@ registerDokkaArtifactPublication("versioning-plugin") {
}
dependencies {
- compileOnly(project(":core"))
- implementation(kotlin("stdlib-jdk8"))
- implementation(kotlin("stdlib"))
+ compileOnly(projects.core)
implementation(kotlin("reflect"))
- implementation(project(":plugins:base"))
- implementation(project(":plugins:templating"))
+ implementation(projects.plugins.base)
+ implementation(projects.plugins.templating)
+ implementation(projects.plugins.templating)
- val coroutines_version: String by project
- implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version")
- val jackson_version: String by project
- implementation("com.fasterxml.jackson.module:jackson-module-kotlin:$jackson_version")
- val jackson_databind_version: String by project
+ implementation(libs.kotlinx.coroutines.core)
+ implementation(libs.jackson.kotlin)
constraints {
- implementation("com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version") {
+ implementation(libs.jackson.databind) {
because("CVE-2022-42003")
}
}
- val kotlinx_html_version: String by project
- implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:$kotlinx_html_version")
+ implementation(libs.kotlinx.html)
- val jsoup_version: String by project
- implementation("org.jsoup:jsoup:$jsoup_version")
- implementation("org.apache.maven:maven-artifact:3.8.5")
+ implementation(libs.jsoup)
+ implementation(libs.apache.mavenArtifact)
- testImplementation(project(":test-utils"))
- testImplementation(project(":core:test-api"))
- testImplementation("org.junit.jupiter:junit-jupiter:5.6.0")
+ testImplementation(projects.testUtils)
+ testImplementation(projects.core.testApi)
+ testImplementation(platform(libs.junit.bom))
+ testImplementation(libs.junit.jupiter)
}