Add stub of lib downloading

This commit is contained in:
Iaroslav Postovalov 2021-02-18 19:37:12 +07:00
parent 090f93ab7b
commit 2a325b4bc8
No known key found for this signature in database
GPG Key ID: 46E15E4A31B3BCD7

View File

@ -6,14 +6,21 @@ import ru.mipt.npm.gradle.Maturity
plugins {
id("ru.mipt.npm.mpp")
id("de.undercouch.download")
}
kotlin {
explicitApiWarning()
data class DownloadLinks(val gsl: String)
lateinit var downloadLinks: DownloadLinks
val nativeTarget = when (System.getProperty("os.name")) {
// "Mac OS X" -> macosX64()
"Linux" -> linuxX64()
"Linux" -> {
downloadLinks = DownloadLinks(gsl = "")
linuxX64()
}
else -> {
logger.warn("Current OS cannot build any of kmath-gsl targets.")