forked from kscience/kmath
e9c31b7827
# Conflicts: # README.md # build.gradle.kts # examples/src/main/kotlin/space/kscience/kmath/stat/DistributionBenchmark.kt # examples/src/main/kotlin/space/kscience/kmath/structures/ParallelRealNDField.kt # kmath-ast/README.md # kmath-ast/build.gradle.kts # kmath-ast/src/commonMain/kotlin/space/kscience/kmath/ast/MstExpression.kt # kmath-complex/README.md # kmath-complex/build.gradle.kts # kmath-complex/src/commonMain/kotlin/space/kscience/kmath/complex/ComplexNDField.kt # kmath-core/README.md # kmath-core/build.gradle.kts # kmath-core/src/commonMain/kotlin/space/kscience/kmath/expressions/MST.kt # kmath-core/src/commonMain/kotlin/space/kscience/kmath/expressions/MstAlgebra.kt # kmath-core/src/commonMain/kotlin/space/kscience/kmath/nd/RealNDField.kt # kmath-core/src/commonMain/kotlin/space/kscience/kmath/structures/RealBufferField.kt # kmath-coroutines/build.gradle.kts # kmath-coroutines/src/commonMain/kotlin/space/kscience/kmath/chains/BlockingRealChain.kt # kmath-coroutines/src/jvmMain/kotlin/space/kscience/kmath/structures/LazyNDStructure.kt # kmath-dimensions/src/commonTest/kotlin/kscience/dimensions/DMatrixContextTest.kt # kmath-for-real/README.md # kmath-functions/README.md # kmath-functions/src/commonMain/kotlin/space/kscience/kmath/interpolation/Interpolator.kt # kmath-functions/src/commonMain/kotlin/space/kscience/kmath/interpolation/LoessInterpolator.kt # kmath-functions/src/commonMain/kotlin/space/kscience/kmath/interpolation/XYPointSet.kt # kmath-geometry/build.gradle.kts # kmath-nd4j/README.md # kmath-nd4j/build.gradle.kts # kmath-stat/src/commonMain/kotlin/space/kscience/kmath/distributions/FactorizedDistribution.kt # kmath-stat/src/commonMain/kotlin/space/kscience/kmath/stat/Distribution.kt # kmath-stat/src/commonMain/kotlin/space/kscience/kmath/stat/Fitting.kt # kmath-stat/src/commonMain/kotlin/space/kscience/kmath/stat/OptimizationProblem.kt # kmath-stat/src/jvmMain/kotlin/space/kscience/kmath/stat/distributions.kt # kmath-viktor/src/main/kotlin/space/kscience/kmath/viktor/ViktorNDStructure.kt
69 lines
1.8 KiB
Plaintext
69 lines
1.8 KiB
Plaintext
/*
|
|
* Copyright 2018-2021 KMath contributors.
|
|
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
|
*/
|
|
|
|
import org.jetbrains.dokka.gradle.DokkaTask
|
|
import java.net.URL
|
|
|
|
plugins {
|
|
id("ru.mipt.npm.gradle.project")
|
|
}
|
|
|
|
allprojects {
|
|
repositories {
|
|
jcenter()
|
|
maven("https://clojars.org/repo")
|
|
maven("https://dl.bintray.com/egor-bogomolov/astminer/")
|
|
maven("https://dl.bintray.com/hotkeytlt/maven")
|
|
maven("https://jitpack.io")
|
|
maven{
|
|
setUrl("http://logicrunch.research.it.uu.se/maven/")
|
|
isAllowInsecureProtocol = true
|
|
}
|
|
mavenCentral()
|
|
}
|
|
|
|
group = "space.kscience"
|
|
version = "0.3.0-dev-6"
|
|
}
|
|
|
|
subprojects {
|
|
if (name.startsWith("kmath")) apply<MavenPublishPlugin>()
|
|
|
|
afterEvaluate {
|
|
tasks.withType<DokkaTask> {
|
|
dokkaSourceSets.all {
|
|
val readmeFile = File(this@subprojects.projectDir, "./README.md")
|
|
if (readmeFile.exists())
|
|
includes.setFrom(includes + readmeFile.absolutePath)
|
|
|
|
arrayOf(
|
|
"http://ejml.org/javadoc/",
|
|
"https://commons.apache.org/proper/commons-math/javadocs/api-3.6.1/",
|
|
"https://deeplearning4j.org/api/latest/"
|
|
).map { URL("${it}package-list") to URL(it) }.forEach { (a, b) ->
|
|
externalDocumentationLink {
|
|
packageListUrl.set(a)
|
|
url.set(b)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
readme {
|
|
readmeTemplate = file("docs/templates/README-TEMPLATE.md")
|
|
}
|
|
|
|
ksciencePublish {
|
|
github("kmath")
|
|
space()
|
|
sonatype()
|
|
}
|
|
|
|
apiValidation {
|
|
nonPublicMarkers.add("space.kscience.kmath.misc.UnstableKMathAPI")
|
|
}
|