2020-10-13 18:00:01 +03:00
|
|
|
import ru.mipt.npm.gradle.KSciencePublishPlugin
|
|
|
|
|
2019-07-17 14:21:37 +03:00
|
|
|
plugins {
|
2020-09-25 10:13:38 +03:00
|
|
|
id("ru.mipt.npm.project")
|
2020-10-13 18:00:01 +03:00
|
|
|
id("ru.mipt.npm.publish") apply false
|
2019-07-17 14:21:37 +03:00
|
|
|
}
|
|
|
|
|
2020-10-13 18:00:01 +03:00
|
|
|
private val kmathVersion: String by extra("0.2.0-dev-2")
|
|
|
|
private val bintrayRepo: String by extra("kscience")
|
|
|
|
private val githubProject: String by extra("kmath")
|
2018-11-20 22:09:07 +03:00
|
|
|
|
2019-02-22 13:52:35 +03:00
|
|
|
allprojects {
|
2019-01-04 18:12:28 +03:00
|
|
|
repositories {
|
2018-12-24 15:19:35 +03:00
|
|
|
jcenter()
|
2020-10-13 18:00:01 +03:00
|
|
|
maven(url = "https://dl.bintray.com/kotlin/kotlin-eap")
|
|
|
|
maven(url = "https://dl.bintray.com/kotlin/kotlinx")
|
|
|
|
maven(url = "https://dl.bintray.com/hotkeytlt/maven")
|
2018-12-24 15:19:35 +03:00
|
|
|
}
|
2019-06-08 16:25:51 +03:00
|
|
|
|
2020-09-12 14:59:12 +03:00
|
|
|
group = "kscience.kmath"
|
2019-04-07 09:18:06 +03:00
|
|
|
version = kmathVersion
|
|
|
|
}
|
2019-01-31 18:19:02 +03:00
|
|
|
|
2020-09-21 15:47:47 +03:00
|
|
|
subprojects {
|
2020-10-13 18:00:01 +03:00
|
|
|
if (name.startsWith("kmath")) apply<KSciencePublishPlugin>()
|
|
|
|
|
|
|
|
ksciencePublish {
|
|
|
|
spaceRepo = "https://maven.pkg.jetbrains.space/mipt-npm/p/sci/maven"
|
|
|
|
spaceUser = System.getenv("SPACE_USER")
|
|
|
|
spaceToken = System.getenv("SPACE_TOKEN")
|
|
|
|
}
|
2020-09-21 15:47:47 +03:00
|
|
|
}
|
|
|
|
|
2020-09-27 23:10:24 +03:00
|
|
|
readme {
|
2020-09-26 12:15:11 +03:00
|
|
|
readmeTemplate = file("docs/templates/README-TEMPLATE.md")
|
|
|
|
}
|