2023-02-18 20:05:26 +03:00
|
|
|
import space.kscience.gradle.useApache2Licence
|
|
|
|
import space.kscience.gradle.useSPCTeam
|
|
|
|
|
2020-10-04 22:36:44 +03:00
|
|
|
plugins {
|
2022-08-02 09:46:31 +03:00
|
|
|
id("space.kscience.gradle.project")
|
2020-09-08 10:13:14 +03:00
|
|
|
}
|
|
|
|
|
2020-02-17 14:46:02 +03:00
|
|
|
allprojects {
|
2022-08-02 09:10:02 +03:00
|
|
|
group = "space.kscience"
|
2024-05-10 11:33:00 +03:00
|
|
|
version = "0.4.0-dev-1"
|
2023-02-25 10:53:53 +03:00
|
|
|
repositories{
|
2023-02-26 22:07:19 +03:00
|
|
|
maven("https://maven.pkg.jetbrains.space/spc/p/sci/dev")
|
2023-02-25 10:53:53 +03:00
|
|
|
}
|
2020-02-17 14:46:02 +03:00
|
|
|
}
|
|
|
|
|
2020-10-04 22:36:44 +03:00
|
|
|
ksciencePublish {
|
2023-10-20 10:14:14 +03:00
|
|
|
pom("https://github.com/SciProgCentre/controls-kt") {
|
2023-02-18 20:05:26 +03:00
|
|
|
useApache2Licence()
|
|
|
|
useSPCTeam()
|
|
|
|
}
|
2023-10-20 10:14:14 +03:00
|
|
|
repository("spc","https://maven.sciprog.center/kscience")
|
2023-08-23 16:37:35 +03:00
|
|
|
sonatype("https://oss.sonatype.org")
|
2020-10-04 22:36:44 +03:00
|
|
|
}
|
|
|
|
|
2024-05-15 14:48:24 +03:00
|
|
|
readme.readmeTemplate = file("docs/templates/README-TEMPLATE.md")
|
|
|
|
|
|
|
|
task("generateKTStemplates") {
|
|
|
|
doLast {
|
|
|
|
exec {
|
|
|
|
commandLine("kotlin", "ktstemplate_generator.kts")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|