kmath/build.gradle.kts

36 lines
878 B
Plaintext
Raw Normal View History

2019-04-23 13:10:38 +03:00
import org.jetbrains.kotlin.gradle.plugin.mpp.KotlinMultiplatformPlugin
2019-04-07 09:18:06 +03:00
val kmathVersion by extra("0.1.2-dev-1")
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()
2019-04-07 09:18:06 +03:00
maven("https://kotlin.bintray.com/kotlinx")
2018-12-24 15:19:35 +03:00
}
2019-04-07 09:18:06 +03:00
group = "scientifik"
version = kmathVersion
}
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")) {
2019-04-07 09:18:06 +03:00
// apply bintray configuration
2019-04-17 12:24:06 +03:00
apply(plugin = "bintray-config")
2019-02-22 13:52:35 +03:00
2019-04-07 09:18:06 +03:00
//apply artifactory configuration
2019-04-17 12:24:06 +03:00
apply(plugin = "artifactory-config")
2019-04-07 09:18:06 +03:00
}
2019-04-23 13:10:38 +03:00
plugins.withType<KotlinMultiplatformPlugin> {
apply(plugin = "multiplatform-config")
// dokka {
// outputFormat = "html"
// outputDirectory = javadoc.destinationDir
// }
2019-04-07 09:18:06 +03:00
//
2019-04-23 13:10:38 +03:00
// task dokkaJar (type: Jar, dependsOn: dokka) {
// from javadoc . destinationDir
// classifier = "javadoc"
2019-04-07 09:18:06 +03:00
// }
2019-04-23 13:10:38 +03:00
}
2019-04-07 09:18:06 +03:00
}