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/all-modules-page/build.gradle.kts | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'plugins/all-modules-page/build.gradle.kts') diff --git a/plugins/all-modules-page/build.gradle.kts b/plugins/all-modules-page/build.gradle.kts index a690e077..cd07d9b3 100644 --- a/plugins/all-modules-page/build.gradle.kts +++ b/plugins/all-modules-page/build.gradle.kts @@ -1,10 +1,20 @@ import org.jetbrains.registerDokkaArtifactPublication +plugins { + org.jetbrains.conventions.`kotlin-jvm` + org.jetbrains.conventions.`maven-publish` +} + registerDokkaArtifactPublication("dokkaAllModulesPage") { artifactId = "all-modules-page-plugin" } dependencies { + compileOnly(project(":core")) + implementation(kotlin("stdlib-jdk8")) + implementation(kotlin("stdlib")) + implementation(kotlin("reflect")) + compileOnly(project(":kotlin-analysis")) implementation(project(":plugins:base")) implementation(project(":plugins:templating")) @@ -29,4 +39,8 @@ dependencies { val jsoup_version: String by project implementation("org.jsoup:jsoup:$jsoup_version") -} \ 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