2022-05-16 18:57:48 +03:00
|
|
|
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
2022-10-03 20:36:28 +03:00
|
|
|
import space.kscience.gradle.useApache2Licence
|
|
|
|
import space.kscience.gradle.useSPCTeam
|
2022-05-16 18:57:48 +03:00
|
|
|
|
2019-06-28 16:28:54 +03:00
|
|
|
plugins {
|
2022-08-01 18:12:57 +03:00
|
|
|
id("space.kscience.gradle.project")
|
2019-06-28 16:28:54 +03:00
|
|
|
}
|
|
|
|
|
2018-12-11 18:49:08 +03:00
|
|
|
allprojects {
|
2021-03-03 11:36:22 +03:00
|
|
|
group = "space.kscience"
|
2023-10-29 21:39:40 +03:00
|
|
|
version = "0.7.0-dev-1"
|
2022-05-21 10:38:53 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
subprojects {
|
|
|
|
apply(plugin = "maven-publish")
|
2022-05-16 18:57:48 +03:00
|
|
|
|
2022-10-03 20:36:28 +03:00
|
|
|
tasks.withType<KotlinCompile> {
|
|
|
|
kotlinOptions {
|
2022-05-16 18:57:48 +03:00
|
|
|
freeCompilerArgs = freeCompilerArgs + "-Xcontext-receivers"
|
|
|
|
}
|
|
|
|
}
|
2019-04-30 14:28:45 +03:00
|
|
|
}
|
2019-01-27 17:12:46 +03:00
|
|
|
|
2021-02-07 20:58:19 +03:00
|
|
|
readme {
|
|
|
|
readmeTemplate = file("docs/templates/README-TEMPLATE.md")
|
|
|
|
}
|
|
|
|
|
|
|
|
ksciencePublish {
|
2022-10-03 20:36:28 +03:00
|
|
|
pom("https://github.com/SciProgCentre/kmath") {
|
|
|
|
useApache2Licence()
|
|
|
|
useSPCTeam()
|
|
|
|
}
|
2023-09-13 12:19:20 +03:00
|
|
|
repository("spc","https://maven.sciprog.center/kscience")
|
2021-03-07 15:05:36 +03:00
|
|
|
sonatype()
|
2021-02-28 11:45:19 +03:00
|
|
|
}
|
|
|
|
|
2021-03-05 19:27:13 +03:00
|
|
|
apiValidation {
|
2021-03-03 11:36:22 +03:00
|
|
|
nonPublicMarkers.add("space.kscience.dataforge.misc.DFExperimental")
|
2019-03-06 18:15:30 +03:00
|
|
|
}
|