From 62c980707d23d2d451c75330f7ed1ba613777cf3 Mon Sep 17 00:00:00 2001 From: aSemy <897017+aSemy@users.noreply.github.com> Date: Tue, 7 Mar 2023 23:26:06 +0100 Subject: Use buildSrc convention plugins to configure the Dokka subprojects (#2704) --- plugins/versioning/build.gradle.kts | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'plugins/versioning') 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") +} -- cgit