2022-09-06 13:32:13 +03:00
|
|
|
import space.kscience.gradle.isInDevelopment
|
|
|
|
import space.kscience.gradle.useApache2Licence
|
|
|
|
import space.kscience.gradle.useSPCTeam
|
|
|
|
|
2022-07-09 17:47:42 +03:00
|
|
|
plugins {
|
2022-09-06 13:32:13 +03:00
|
|
|
id("space.kscience.gradle.project")
|
2022-07-09 17:47:42 +03:00
|
|
|
}
|
|
|
|
|
2023-02-06 17:19:51 +03:00
|
|
|
val kmathVersion: String by extra("0.3.1-dev-10")
|
|
|
|
|
2022-07-17 10:21:11 +03:00
|
|
|
allprojects {
|
|
|
|
group = "center.sciprog"
|
2023-02-22 14:00:41 +03:00
|
|
|
version = "0.2.2-dev-9"
|
2023-02-06 10:37:22 +03:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
|
|
|
maven("https://maven.pkg.jetbrains.space/spc/p/sci/dev")
|
|
|
|
}
|
2022-07-17 10:21:11 +03:00
|
|
|
}
|
|
|
|
|
2022-09-06 13:32:13 +03:00
|
|
|
ksciencePublish{
|
|
|
|
pom("https://github.com/SciProgCentre/maps-kt") {
|
|
|
|
useApache2Licence()
|
|
|
|
useSPCTeam()
|
2022-07-17 10:05:06 +03:00
|
|
|
}
|
2022-09-06 13:32:13 +03:00
|
|
|
github("maps-kt", "SciProgCentre")
|
|
|
|
space(
|
|
|
|
if (isInDevelopment) {
|
2022-10-08 13:44:21 +03:00
|
|
|
"https://maven.pkg.jetbrains.space/spc/p/sci/dev"
|
2022-09-06 13:32:13 +03:00
|
|
|
} else {
|
2022-10-08 13:44:21 +03:00
|
|
|
"https://maven.pkg.jetbrains.space/spc/p/sci/release"
|
2022-09-06 13:32:13 +03:00
|
|
|
}
|
|
|
|
)
|
|
|
|
sonatype()
|
2022-07-17 10:05:06 +03:00
|
|
|
}
|
|
|
|
|
2022-07-16 21:34:19 +03:00
|
|
|
subprojects {
|
|
|
|
repositories {
|
2022-09-09 21:16:54 +03:00
|
|
|
maven("https://maven.pkg.jetbrains.space/mipt-npm/p/sci/dev")
|
2022-07-16 21:34:19 +03:00
|
|
|
google()
|
|
|
|
mavenCentral()
|
2022-09-06 13:32:13 +03:00
|
|
|
maven("https://repo.kotlin.link")
|
2022-07-16 21:34:19 +03:00
|
|
|
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
|
2022-07-09 17:47:42 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-01-12 11:52:54 +03:00
|
|
|
readme.readmeTemplate = file("docs/templates/README-TEMPLATE.md")
|
|
|
|
|
2022-07-16 21:34:19 +03:00
|
|
|
|
|
|
|
|