build: download dependencies from the bintray repo

which is accessible from the outside
This commit is contained in:
Svyatoslav Scherbina
2016-10-31 15:41:25 +07:00
committed by SvyatoslavScherbina
parent 8d2c0edd6b
commit 644add92e5
+2 -1
View File
@@ -24,7 +24,7 @@ abstract class NativeDep extends DefaultTask {
abstract String getFileName()
protected String getUrl() {
return "http://repo.labs.intellij.net/kotlin-native/$fileName"
return "https://jetbrains.bintray.com/kotlin-native-dependencies/$fileName"
}
protected File getBaseOutDir() {
@@ -71,6 +71,7 @@ class TgzNativeDep extends NativeDep {
throw e
}
// TODO: improve downloaded files caching
// TODO: do not extract if already extracted
}
}