kmath/build.gradle.kts

54 lines
1.6 KiB
Plaintext
Raw Normal View History

plugins {
2021-02-21 16:13:40 +03:00
id("ru.mipt.npm.gradle.project")
2021-03-31 15:39:34 +03:00
kotlin("jupyter.api") apply false
}
2019-02-22 13:52:35 +03:00
allprojects {
2019-01-04 18:12:28 +03:00
repositories {
maven("https://clojars.org/repo")
maven("https://jitpack.io")
maven("http://logicrunch.research.it.uu.se/maven") {
isAllowInsecureProtocol = true
}
maven("https://maven.pkg.jetbrains.space/public/p/kotlinx-html/maven")
mavenCentral()
2018-12-24 15:19:35 +03:00
}
2019-06-08 16:25:51 +03:00
2021-02-18 11:17:28 +03:00
group = "space.kscience"
2021-05-08 14:20:16 +03:00
version = "0.3.0-dev-8"
2019-04-07 09:18:06 +03:00
}
2019-01-31 18:19:02 +03:00
2020-09-21 15:47:47 +03:00
subprojects {
if (name.startsWith("kmath")) apply<MavenPublishPlugin>()
2021-03-22 14:32:08 +03:00
afterEvaluate {
tasks.withType<org.jetbrains.dokka.gradle.DokkaTaskPartial> {
dependsOn(tasks.getByName("assemble"))
2021-03-22 14:32:08 +03:00
dokkaSourceSets.all {
val readmeFile = File(this@subprojects.projectDir, "README.md")
if (readmeFile.exists()) includes.setFrom(includes + readmeFile.absolutePath)
externalDocumentationLink("http://ejml.org/javadoc/")
externalDocumentationLink("https://commons.apache.org/proper/commons-math/javadocs/api-3.6.1/")
externalDocumentationLink("https://deeplearning4j.org/api/latest/")
externalDocumentationLink("https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/")
2021-05-14 17:15:24 +03:00
externalDocumentationLink("https://breandan.net/kotlingrad/kotlingrad/kotlingrad/")
2021-03-22 14:32:08 +03:00
}
}
}
2020-09-21 15:47:47 +03:00
}
readme {
2020-09-26 12:15:11 +03:00
readmeTemplate = file("docs/templates/README-TEMPLATE.md")
}
2020-10-19 22:51:33 +03:00
2020-12-22 18:15:24 +03:00
ksciencePublish {
github("kmath")
space()
2021-03-10 18:02:04 +03:00
sonatype()
2021-02-21 16:13:40 +03:00
}
2021-02-28 13:06:47 +03:00
apiValidation {
2021-02-21 16:13:40 +03:00
nonPublicMarkers.add("space.kscience.kmath.misc.UnstableKMathAPI")
2021-02-28 13:06:47 +03:00
}