-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.gradle.kts
56 lines (48 loc) · 1.97 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import org.jetbrains.dokka.gradle.DokkaCollectorTask
import org.jetbrains.dokka.gradle.DokkaMultiModuleTask
@Suppress("DSL_SCOPE_VIOLATION")
plugins {
val agp = libs.versions.agp
val compose = libs.versions.compose
val dokka = libs.versions.dokka
val kmmbridge = libs.versions.kmmbridge
val kotlin = libs.versions.kotlin
val ksp = libs.versions.ksp
val mavenPublish = libs.versions.maven.publish
val kotlinxAbi = libs.versions.kotlinx.abi.plugin
val skie = libs.versions.skie
kotlin("jvm") version kotlin apply false
kotlin("multiplatform") version kotlin apply false
kotlin("plugin.compose") version kotlin apply false
kotlin("plugin.serialization") version kotlin apply false
kotlin("android") version kotlin apply false
id("co.touchlab.kmmbridge") version kmmbridge apply false
id("co.touchlab.skie") version skie apply false
id("com.android.application") version agp apply false
id("com.android.library") version agp apply false
id("com.google.devtools.ksp") version ksp apply false
id("com.vanniktech.maven.publish") version mavenPublish apply false
id("org.jetbrains.compose") version compose apply false
id("org.jetbrains.dokka") version dokka apply true
id("org.jetbrains.kotlinx.binary-compatibility-validator") version kotlinxAbi apply false
}
allprojects {
group = property("POM_GROUP_ID").toString()
version = property("POM_VERSION").toString()
configurations.all {
resolutionStrategy.dependencySubstitution {
substitute(module("$group:api-gen-runtime:$version"))
.using(project(":api-gen-runtime"))
substitute(module("$group:api-gen-runtime-internal:$version"))
.using(project(":api-gen-runtime-internal"))
substitute(module("$group:bluesky:$version"))
.using(project(":bluesky"))
}
}
}
tasks.withType<DokkaMultiModuleTask>().configureEach {
outputDirectory.set(file("$rootDir/docs"))
}
tasks.withType<DokkaCollectorTask>().configureEach {
outputDirectory.set(file("$rootDir/docs"))
}