aboutsummaryrefslogtreecommitdiff
path: root/core/build.gradle.kts
diff options
context:
space:
mode:
authoraSemy <897017+aSemy@users.noreply.github.com>2023-03-17 15:27:03 +0100
committerGitHub <noreply@github.com>2023-03-17 15:27:03 +0100
commit8bb4f4a86b131e9740a8074cb5775930f8280019 (patch)
tree2fea9f93d621d1a2c72129358a45a565cca68e6c /core/build.gradle.kts
parent2a3917b7eb70b39360893b61f5cd7f580c41cfda (diff)
downloaddokka-8bb4f4a86b131e9740a8074cb5775930f8280019.tar.gz
dokka-8bb4f4a86b131e9740a8074cb5775930f8280019.tar.bz2
dokka-8bb4f4a86b131e9740a8074cb5775930f8280019.zip
Introduce Gradle Version Catalog with type-safe project dependencies (#2884)
Diffstat (limited to 'core/build.gradle.kts')
-rw-r--r--core/build.gradle.kts18
1 files changed, 7 insertions, 11 deletions
diff --git a/core/build.gradle.kts b/core/build.gradle.kts
index a59bb0a5..a51e3a62 100644
--- a/core/build.gradle.kts
+++ b/core/build.gradle.kts
@@ -7,26 +7,22 @@ plugins {
}
dependencies {
- api("org.jetbrains:markdown:0.3.1")
+ api(libs.jetbrainsMarkdown)
implementation(kotlin("reflect"))
- val jsoup_version: String by project
- implementation("org.jsoup:jsoup:$jsoup_version")
+ implementation(libs.jsoup)
- 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 jackson_databind_version: String by project
+ implementation(libs.jackson.kotlin)
+ implementation(libs.jackson.xml)
constraints {
- implementation("com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version") {
+ implementation(libs.jackson.databind) {
because("CVE-2022-42003")
}
}
- val coroutines_version: String by project
- implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version")
+ implementation(libs.kotlinx.coroutines.core)
- testImplementation(project(":core:test-api"))
+ testImplementation(projects.core.testApi)
testImplementation(kotlin("test-junit"))
}