2019-04-07 09:18:06 +03:00
|
|
|
val kmathVersion by extra("0.1.2-dev-1")
|
2018-11-20 22:09:07 +03:00
|
|
|
|
2019-02-22 13:52:35 +03:00
|
|
|
allprojects {
|
2019-04-23 22:05:47 +03:00
|
|
|
// apply(plugin = "maven")
|
|
|
|
// apply(plugin = "maven-publish")
|
|
|
|
// apply(plugin = "com.jfrog.artifactory")
|
|
|
|
|
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-23 22:05:47 +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
|
|
|
// Actually, probably we should apply it to plugins explicitly
|
|
|
|
// We also can merge them to single kmath-publish plugin
|
2019-04-17 12:24:06 +03:00
|
|
|
if (name.startsWith("kmath")) {
|
|
|
|
apply(plugin = "bintray-config")
|
|
|
|
apply(plugin = "artifactory-config")
|
2019-04-07 09:18:06 +03:00
|
|
|
}
|
|
|
|
// dokka {
|
|
|
|
// outputFormat = "html"
|
|
|
|
// outputDirectory = javadoc.destinationDir
|
|
|
|
// }
|
|
|
|
//
|
|
|
|
// task dokkaJar (type: Jar, dependsOn: dokka) {
|
|
|
|
// from javadoc . destinationDir
|
|
|
|
// classifier = "javadoc"
|
|
|
|
// }
|
2019-04-17 12:24:06 +03:00
|
|
|
}
|