aboutsummaryrefslogtreecommitdiff
path: root/plugins/versioning/build.gradle.kts
diff options
context:
space:
mode:
authoraSemy <897017+aSemy@users.noreply.github.com>2023-03-07 23:26:06 +0100
committerGitHub <noreply@github.com>2023-03-07 23:26:06 +0100
commit62c980707d23d2d451c75330f7ed1ba613777cf3 (patch)
tree2dd732bdaa23713d665a07bcc28c2ab152dc8096 /plugins/versioning/build.gradle.kts
parentded804e5772399f1495016d598573cb20b673b58 (diff)
downloaddokka-62c980707d23d2d451c75330f7ed1ba613777cf3.tar.gz
dokka-62c980707d23d2d451c75330f7ed1ba613777cf3.tar.bz2
dokka-62c980707d23d2d451c75330f7ed1ba613777cf3.zip
Use buildSrc convention plugins to configure the Dokka subprojects (#2704)
Diffstat (limited to 'plugins/versioning/build.gradle.kts')
-rw-r--r--plugins/versioning/build.gradle.kts15
1 files changed, 14 insertions, 1 deletions
diff --git a/plugins/versioning/build.gradle.kts b/plugins/versioning/build.gradle.kts
index 7d585a44..0c7ee0a4 100644
--- a/plugins/versioning/build.gradle.kts
+++ b/plugins/versioning/build.gradle.kts
@@ -1,10 +1,19 @@
import org.jetbrains.registerDokkaArtifactPublication
+plugins {
+ org.jetbrains.conventions.`kotlin-jvm`
+ org.jetbrains.conventions.`maven-publish`
+}
+
registerDokkaArtifactPublication("versioning-plugin") {
artifactId = "versioning-plugin"
}
dependencies {
+ compileOnly(project(":core"))
+ implementation(kotlin("stdlib-jdk8"))
+ implementation(kotlin("stdlib"))
+ implementation(kotlin("reflect"))
implementation(project(":plugins:base"))
implementation(project(":plugins:templating"))
@@ -24,4 +33,8 @@ dependencies {
val jsoup_version: String by project
implementation("org.jsoup:jsoup:$jsoup_version")
implementation("org.apache.maven:maven-artifact:3.8.5")
-} \ No newline at end of file
+
+ testImplementation(project(":test-utils"))
+ testImplementation(project(":core:test-api"))
+ testImplementation("org.junit.jupiter:junit-jupiter:5.6.0")
+}