46 lines
935 B
Plaintext
46 lines
935 B
Plaintext
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
|
import space.kscience.gradle.useApache2Licence
|
|
import space.kscience.gradle.useSPCTeam
|
|
|
|
plugins {
|
|
alias(spclibs.plugins.kscience.project)
|
|
alias(spclibs.plugins.kotlinx.kover)
|
|
}
|
|
|
|
allprojects {
|
|
group = "space.kscience"
|
|
version = "0.10.1"
|
|
}
|
|
|
|
subprojects {
|
|
apply(plugin = "maven-publish")
|
|
|
|
tasks.withType<KotlinCompile> {
|
|
compilerOptions {
|
|
freeCompilerArgs.add("-Xcontext-receivers")
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies{
|
|
subprojects.forEach {
|
|
dokka(it)
|
|
}
|
|
}
|
|
|
|
readme {
|
|
readmeTemplate = file("docs/templates/README-TEMPLATE.md")
|
|
}
|
|
|
|
ksciencePublish {
|
|
pom("https://github.com/SciProgCentre/kmath") {
|
|
useApache2Licence()
|
|
useSPCTeam()
|
|
}
|
|
repository("spc", "https://maven.sciprog.center/kscience")
|
|
central()
|
|
}
|
|
|
|
apiValidation {
|
|
nonPublicMarkers.add("space.kscience.dataforge.misc.DFExperimental")
|
|
} |