kmath/build.gradle.kts

36 lines
905 B
Plaintext
Raw Normal View History

import org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension
import scientifik.ScientifikPublishPlugin
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")
2020-06-11 10:10:39 +03:00
mavenCentral()
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<KotlinProjectExtension>()?.run {
sourceSets.all {
languageSettings.useExperimentalAnnotation("kotlin.contracts.ExperimentalContracts")
2020-09-12 14:59:12 +03:00
}
}
}
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 {
if (name.startsWith("kmath"))
apply<ScientifikPublishPlugin>()
}