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-04-10 11:33:13 +03:00
|
|
|
val kmathVersion: String by extra("0.3.1-dev-RC")
|
2023-02-06 17:19:51 +03:00
|
|
|
|
2022-07-17 10:21:11 +03:00
|
|
|
allprojects {
|
|
|
|
group = "center.sciprog"
|
2023-05-06 15:39:58 +03:00
|
|
|
version = "0.2.2"
|
2023-02-06 10:37:22 +03:00
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
2023-04-06 10:03:38 +03:00
|
|
|
maven("https://repo.kotlin.link")
|
2023-02-06 10:37:22 +03:00
|
|
|
maven("https://maven.pkg.jetbrains.space/spc/p/sci/dev")
|
|
|
|
}
|
2022-07-17 10:21:11 +03:00
|
|
|
}
|
|
|
|
|
2023-05-06 15:39:58 +03:00
|
|
|
ksciencePublish {
|
2022-09-06 13:32:13 +03:00
|
|
|
pom("https://github.com/SciProgCentre/maps-kt") {
|
|
|
|
useApache2Licence()
|
|
|
|
useSPCTeam()
|
2022-07-17 10:05:06 +03:00
|
|
|
}
|
2023-05-06 15:39:58 +03:00
|
|
|
github("SciProgCentre", "maps-kt")
|
2022-09-06 13:32:13 +03:00
|
|
|
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 {
|
2023-05-06 14:22:09 +03:00
|
|
|
"https://maven.pkg.jetbrains.space/spc/p/sci/maven"
|
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
|
|
|
|
|
|
|
|