kmath/build.gradle.kts
2020-10-14 23:26:55 +07:00

36 lines
960 B
Plaintext

import ru.mipt.npm.gradle.KSciencePublishPlugin
plugins {
id("ru.mipt.npm.project")
id("ru.mipt.npm.publish") apply false
}
internal val kmathVersion: String by extra("0.2.0-dev-2")
internal val bintrayRepo: String by extra("kscience")
internal val githubProject: String by extra("kmath")
allprojects {
repositories {
jcenter()
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")
}
group = "kscience.kmath"
version = kmathVersion
}
subprojects {
if (!name.startsWith("kmath")) return@subprojects
apply<KSciencePublishPlugin>()
}
ksciencePublish {
spaceRepo = "https://maven.pkg.jetbrains.space/mipt-npm/p/sci/maven"
spaceUser = System.getenv("SPACE_USER")
spaceToken = System.getenv("SPACE_TOKEN")
}
readme.readmeTemplate = file("docs/templates/README-TEMPLATE.md")