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
|
|
|
}
|
|
|
|
|
|
|
|
val ktorVersion by extra("2.0.3")
|
|
|
|
|
2022-07-17 10:21:11 +03:00
|
|
|
allprojects {
|
|
|
|
group = "center.sciprog"
|
2022-10-08 13:39:52 +03:00
|
|
|
version = "0.1.0-dev-10"
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-07-16 21:34:19 +03:00
|
|
|
|
|
|
|
|