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