Simplify the version catalog usage.

This commit is contained in:
Gleb Minaev 2022-07-23 10:24:52 +03:00
parent e1b8fcdbbf
commit 0c6ad35c13
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ kotlin.sourceSets {
} }
dependencies { dependencies {
dokkaPlugin("org.jetbrains.dokka:mathjax-plugin:${versionCatalogs.named("npmlibs").findVersion("dokka").get().requiredVersion}") dokkaPlugin("org.jetbrains.dokka:mathjax-plugin:${npmlibs.versions.dokka.get()}")
} }
readme { readme {

View File

@ -15,7 +15,7 @@ kotlin.sourceSets {
} }
dependencies { dependencies {
dokkaPlugin("org.jetbrains.dokka:mathjax-plugin:${versionCatalogs.named("npmlibs").findVersion("dokka").get().requiredVersion}") dokkaPlugin("org.jetbrains.dokka:mathjax-plugin:${npmlibs.versions.dokka.get()}")
} }
readme { readme {