kmath/build.gradle.kts

36 lines
880 B
Plaintext
Raw Permalink Normal View History

plugins {
2020-05-06 10:50:08 +03:00
id("scientifik.publish") apply false
2020-09-14 22:48:02 +03:00
id("org.jetbrains.changelog") version "0.4.0"
}
2020-09-14 22:34:45 +03:00
val kmathVersion by extra("0.1.4")
val bintrayRepo by extra("scientifik")
val githubProject 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()
maven("https://dl.bintray.com/kotlin/kotlinx")
maven("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
2020-09-12 14:59:12 +03:00
afterEvaluate {
extensions.findByType<org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension>()?.run {
targets.all {
sourceSets.all {
languageSettings.useExperimentalAnnotation("kotlin.contracts.ExperimentalContracts")
}
}
}
}
2019-04-07 09:18:06 +03:00
}
2019-01-31 18:19:02 +03:00
2019-04-07 09:18:06 +03:00
subprojects {
2019-04-17 12:24:06 +03:00
if (name.startsWith("kmath")) {
apply(plugin = "scientifik.publish")
2019-04-07 09:18:06 +03:00
}
}