aboutsummaryrefslogtreecommitdiff
path: root/dokka-integration-tests/gradle/projects/it-js-ir-0/build.gradle.kts
diff options
context:
space:
mode:
Diffstat (limited to 'dokka-integration-tests/gradle/projects/it-js-ir-0/build.gradle.kts')
-rw-r--r--dokka-integration-tests/gradle/projects/it-js-ir-0/build.gradle.kts25
1 files changed, 25 insertions, 0 deletions
diff --git a/dokka-integration-tests/gradle/projects/it-js-ir-0/build.gradle.kts b/dokka-integration-tests/gradle/projects/it-js-ir-0/build.gradle.kts
new file mode 100644
index 00000000..9746716e
--- /dev/null
+++ b/dokka-integration-tests/gradle/projects/it-js-ir-0/build.gradle.kts
@@ -0,0 +1,25 @@
+/*
+ * Copyright 2014-2023 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license.
+ */
+
+plugins {
+ id("org.jetbrains.dokka")
+ kotlin("js")
+}
+
+apply(from = "../template.root.gradle.kts")
+
+kotlin {
+ js(IR) {
+ browser()
+ nodejs()
+ }
+}
+
+dependencies {
+ implementation(npm("is-sorted", "1.0.5"))
+
+ val reactVersion = properties["react_version"]
+ implementation("org.jetbrains.kotlin-wrappers:kotlin-react:$reactVersion")
+ implementation("org.jetbrains.kotlin-wrappers:kotlin-react-dom:$reactVersion")
+}