forked from kscience/kmath
35 lines
836 B
Plaintext
35 lines
836 B
Plaintext
plugins {
|
|
id("scientifik.publish") apply false
|
|
}
|
|
|
|
val kmathVersion by extra("0.1.4-dev-8")
|
|
|
|
val bintrayRepo by extra("scientifik")
|
|
val githubProject by extra("kmath")
|
|
|
|
allprojects {
|
|
repositories {
|
|
jcenter()
|
|
maven("https://dl.bintray.com/kotlin/kotlinx")
|
|
maven("https://dl.bintray.com/hotkeytlt/maven")
|
|
}
|
|
|
|
group = "kscience.kmath"
|
|
version = kmathVersion
|
|
|
|
afterEvaluate {
|
|
extensions.findByType<org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension>()?.run {
|
|
targets.all {
|
|
sourceSets.all {
|
|
languageSettings.useExperimentalAnnotation("kotlin.contracts.ExperimentalContracts")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
subprojects {
|
|
if (name.startsWith("kmath")) {
|
|
apply(plugin = "scientifik.publish")
|
|
}
|
|
} |