-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle.kts
37 lines (31 loc) · 1.11 KB
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import com.chrynan.uri.buildSrc.LibraryConstants
group = LibraryConstants.group
version = LibraryConstants.versionName
buildscript {
repositories {
google()
mavenCentral()
maven { url = uri("https://repo.repsy.io/mvn/chrynan/public") }
}
dependencies {
classpath("com.android.tools.build:gradle:4.2.2")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.10")
classpath("org.jetbrains.dokka:dokka-gradle-plugin:1.7.10")
classpath("org.jetbrains.kotlin:kotlin-serialization:1.7.10")
}
}
apply(plugin = "org.jetbrains.dokka")
allprojects {
repositories {
google()
mavenCentral()
maven { url = uri("https://repo.repsy.io/mvn/chrynan/public") }
}
}
rootProject.plugins.withType<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin> {
rootProject.the<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension>().nodeVersion = "16.0.0"
}
// Documentation
tasks.named<org.jetbrains.dokka.gradle.DokkaMultiModuleTask>("dokkaGfmMultiModule").configure {
outputDirectory.set(file("${projectDir.path}/docs"))
}