aboutsummaryrefslogtreecommitdiff
path: root/plugins/base
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/base')
-rw-r--r--plugins/base/base-test-utils/build.gradle.kts14
-rw-r--r--plugins/base/build.gradle.kts12
-rw-r--r--plugins/base/frontend/build.gradle.kts1
3 files changed, 27 insertions, 0 deletions
diff --git a/plugins/base/base-test-utils/build.gradle.kts b/plugins/base/base-test-utils/build.gradle.kts
index 122b9b92..b7d02115 100644
--- a/plugins/base/base-test-utils/build.gradle.kts
+++ b/plugins/base/base-test-utils/build.gradle.kts
@@ -1,11 +1,25 @@
import org.jetbrains.registerDokkaArtifactPublication
+plugins {
+ org.jetbrains.conventions.`kotlin-jvm`
+ org.jetbrains.conventions.`maven-publish`
+}
+
dependencies {
+ compileOnly(project(":core"))
+ implementation(kotlin("stdlib-jdk8"))
+ implementation(kotlin("stdlib"))
+ implementation(kotlin("reflect"))
+
compileOnly(project(":plugins:base"))
implementation(project(":core:test-api"))
val jsoup_version: String by project
implementation("org.jsoup:jsoup:$jsoup_version")
implementation(kotlin("test-junit"))
+
+ testImplementation(project(":test-utils"))
+ testImplementation(project(":core:test-api"))
+ testImplementation("org.junit.jupiter:junit-jupiter:5.6.0")
}
registerDokkaArtifactPublication("dokkaBaseTestUtils") {
diff --git a/plugins/base/build.gradle.kts b/plugins/base/build.gradle.kts
index 93348ed7..089e26d1 100644
--- a/plugins/base/build.gradle.kts
+++ b/plugins/base/build.gradle.kts
@@ -1,7 +1,16 @@
import org.jetbrains.registerDokkaArtifactPublication
+plugins {
+ org.jetbrains.conventions.`kotlin-jvm`
+ org.jetbrains.conventions.`maven-publish`
+}
dependencies {
+ compileOnly(project(":core"))
+ implementation(kotlin("stdlib-jdk8"))
+ implementation(kotlin("stdlib"))
+ implementation(kotlin("reflect"))
+
val coroutines_version: String by project
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version")
@@ -28,6 +37,9 @@ dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-html-jvm:$kotlinx_html_version")
testImplementation(project(":kotlin-analysis"))
+ testImplementation(project(":test-utils"))
+ testImplementation(project(":core:test-api"))
+ testImplementation("org.junit.jupiter:junit-jupiter:5.6.0")
}
val projectDistDir = project(":plugins:base:frontend").file("dist")
diff --git a/plugins/base/frontend/build.gradle.kts b/plugins/base/frontend/build.gradle.kts
index aa39d20e..9ed576cd 100644
--- a/plugins/base/frontend/build.gradle.kts
+++ b/plugins/base/frontend/build.gradle.kts
@@ -1,4 +1,5 @@
plugins {
+ base
id("com.github.node-gradle.node") version "3.2.1"
}