forked from Sage-Bionetworks/BridgeClientKMM
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
69 lines (60 loc) · 1.73 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
57
58
59
60
61
62
63
64
65
66
67
68
69
buildscript {
repositories {
gradlePluginPortal()
google()
mavenCentral()
maven("https://plugins.gradle.org/m2/")
}
dependencies {
classpath(libs.bundles.gradlePlugins)
classpath("dev.icerock.moko:network-generator:0.16.0")
}
}
plugins {
id("org.jetbrains.dokka") version "1.9.0"
id("maven-publish")
// id("org.jetbrains.kotlinx.kover") version "0.6.1"
}
// TODO: syoung 02/15/2022 Figure out why this plugin doesn't work on my machine.
//koverMerged {
// enable()
//
// htmlReport {
// // set to true to run koverHtmlReport task during the execution of the check task (if it exists) of the current project
// onCheck.set(true)
// }
//
// filters {
//
// projects {
// excludes += listOf("androidApp", "bridge-client-presentation")
// }
// }
//}
tasks.dokkaHtmlMultiModule {
outputDirectory.set(rootDir.resolve("build/dokka"))
}
allprojects {
group = "org.sagebionetworks.bridge.kmm"
extra["sdkVersionCode"] = 1
version = "0.20.3"
extra["versionName"] = "android-sdk v${version}"
repositories {
google()
mavenCentral()
maven {
url = uri("http://repo-maven.sagebridge.org/")
isAllowInsecureProtocol = true
}
maven(url = "https://sagebionetworks.jfrog.io/artifactory/mobile-sdks/")
}
tasks.withType<org.jetbrains.dokka.gradle.DokkaTaskPartial>().configureEach {
dokkaSourceSets {
configureEach {
includes.from(rootProject.file("dokka/moduledoc.md").path)
}
}
}
// TODO: syoung 02/15/2022 Figure out why this plugin doesn't work on my machine.
// apply(plugin = "kover")
}