dataforge-core/build.gradle.kts

47 lines
1.1 KiB
Plaintext
Raw Normal View History

import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2022-10-03 20:36:28 +03:00
import space.kscience.gradle.isInDevelopment
import space.kscience.gradle.useApache2Licence
import space.kscience.gradle.useSPCTeam
2019-06-28 16:28:54 +03:00
plugins {
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-07-09 21:38:33 +03:00
version = "0.6.2-dev-kotlin-1.9.0"
2022-05-21 10:38:53 +03:00
}
subprojects {
apply(plugin = "maven-publish")
2022-10-03 20:36:28 +03:00
tasks.withType<KotlinCompile> {
kotlinOptions {
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()
}
github("dataforge-core", "SciProgCentre")
space(
if (isInDevelopment) {
2023-02-20 18:37:24 +03:00
"https://maven.pkg.jetbrains.space/spc/p/sci/dev"
2022-10-03 20:36:28 +03:00
} else {
2023-03-31 14:00:55 +03:00
"https://maven.pkg.jetbrains.space/spc/p/sci/maven"
2022-10-03 20:36:28 +03:00
}
)
2021-03-07 15:05:36 +03:00
sonatype()
}
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
}