2021-02-28 13:06:47 +03:00
|
|
|
import ru.mipt.npm.gradle.KSciencePublishingPlugin
|
|
|
|
|
2019-07-17 14:21:37 +03:00
|
|
|
plugins {
|
2021-02-21 16:13:40 +03:00
|
|
|
id("ru.mipt.npm.gradle.project")
|
2019-07-17 14:21:37 +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-29 21:09:11 +03:00
|
|
|
maven("https://clojars.org/repo")
|
|
|
|
maven("https://dl.bintray.com/egor-bogomolov/astminer/")
|
|
|
|
maven("https://dl.bintray.com/hotkeytlt/maven")
|
2020-09-27 19:57:30 +03:00
|
|
|
maven("https://dl.bintray.com/kotlin/kotlin-eap")
|
2019-07-17 14:21:37 +03:00
|
|
|
maven("https://dl.bintray.com/kotlin/kotlinx")
|
2020-10-29 21:09:11 +03:00
|
|
|
maven("https://dl.bintray.com/mipt-npm/dev")
|
|
|
|
maven("https://dl.bintray.com/mipt-npm/kscience")
|
2020-10-12 16:26:03 +03:00
|
|
|
maven("https://jitpack.io")
|
2020-11-01 21:08:55 +03:00
|
|
|
maven("http://logicrunch.research.it.uu.se/maven/")
|
2020-10-29 21:09:11 +03:00
|
|
|
mavenCentral()
|
2018-12-24 15:19:35 +03:00
|
|
|
}
|
2019-06-08 16:25:51 +03:00
|
|
|
|
2021-02-18 11:17:28 +03:00
|
|
|
group = "space.kscience"
|
2021-02-21 16:17:57 +03:00
|
|
|
version = "0.2.0"
|
2019-04-07 09:18:06 +03:00
|
|
|
}
|
2019-01-31 18:19:02 +03:00
|
|
|
|
2020-09-21 15:47:47 +03:00
|
|
|
subprojects {
|
2021-02-28 13:06:47 +03:00
|
|
|
if (name.startsWith("kmath")) {
|
|
|
|
apply<KSciencePublishingPlugin>()
|
|
|
|
|
|
|
|
val publishWindows by tasks.creating {
|
|
|
|
tasks.find { it.name == "publishMingwX64PublicationToSpaceRepository" }?.let { dependsOn(it) }
|
|
|
|
tasks.find { it.name == "publishMingwX64PublicationToSonatypeRepository" }?.let { dependsOn(it) }
|
|
|
|
}
|
|
|
|
}
|
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")
|
|
|
|
}
|
2020-10-19 22:51:33 +03:00
|
|
|
|
2020-12-22 18:15:24 +03:00
|
|
|
ksciencePublish {
|
|
|
|
spaceRepo = "https://maven.pkg.jetbrains.space/mipt-npm/p/sci/maven"
|
2021-02-18 11:17:28 +03:00
|
|
|
bintrayRepo = "kscience"
|
|
|
|
githubProject = "kmath"
|
2021-02-21 16:13:40 +03:00
|
|
|
}
|
|
|
|
|
2021-02-28 13:06:47 +03:00
|
|
|
apiValidation {
|
2021-02-21 16:13:40 +03:00
|
|
|
nonPublicMarkers.add("space.kscience.kmath.misc.UnstableKMathAPI")
|
2021-02-28 13:06:47 +03:00
|
|
|
}
|