kmath/build.gradle.kts

36 lines
960 B
Plaintext
Raw Normal View History

2020-10-13 18:00:01 +03:00
import ru.mipt.npm.gradle.KSciencePublishPlugin
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
}
2020-10-14 19:26:55 +03:00
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")
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-14 19:26:55 +03:00
if (!name.startsWith("kmath")) return@subprojects
apply<KSciencePublishPlugin>()
2020-09-21 15:47:47 +03:00
}
2020-10-14 19:26:55 +03:00
ksciencePublish {
spaceRepo = "https://maven.pkg.jetbrains.space/mipt-npm/p/sci/maven"
spaceUser = System.getenv("SPACE_USER")
spaceToken = System.getenv("SPACE_TOKEN")
2020-09-26 12:15:11 +03:00
}
2020-10-14 19:26:55 +03:00
readme.readmeTemplate = file("docs/templates/README-TEMPLATE.md")