forked from Sage-Bionetworks/AssessmentModelKMM
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
49 lines (43 loc) · 1.42 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
buildscript {
repositories {
google()
mavenCentral()
maven {url = uri("https://plugins.gradle.org/m2/")}
}
dependencies {
classpath(libs.bundles.gradlePlugins)
}
}
plugins {
id("org.jetbrains.dokka") version "1.9.0"
id("maven-publish")
}
tasks.dokkaHtmlMultiModule {
outputDirectory.set(rootDir.resolve("docs"))
}
allprojects {
group = "org.sagebionetworks.assessmentmodel"
version = "1.1.4"
repositories {
google()
mavenCentral()
jcenter() // still used by org.jetbrains.dokka:javadoc-plugin - liujoshua 05-07-2021
}
}
// TODO: This block was causing problems with build, need to figure out creating javadoc jar if we want it -nbrown 10/10/2023
//subprojects {
// afterEvaluate {
// if (project.plugins.hasPlugin("com.android.library")) {
//// val android = this.extensions.getByName("android") as com.android.build.gradle.LibraryExtension
//// val kotlin =
//// this.extensions.getByType(org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension::class.java)
//
// tasks.register<Jar>("javadocJar") {
// val dokkaJavadoc = tasks.getByName<org.jetbrains.dokka.gradle.DokkaTask>("dokkaJavadoc")
// dependsOn(dokkaJavadoc)
// //classifier = "javadoc"
// from(dokkaJavadoc.outputDirectory)
// }
// }
// }
//}