build: download dependencies from the bintray repo
which is accessible from the outside
This commit is contained in:
committed by
SvyatoslavScherbina
parent
8d2c0edd6b
commit
644add92e5
Vendored
+2
-1
@@ -24,7 +24,7 @@ abstract class NativeDep extends DefaultTask {
|
|||||||
abstract String getFileName()
|
abstract String getFileName()
|
||||||
|
|
||||||
protected String getUrl() {
|
protected String getUrl() {
|
||||||
return "http://repo.labs.intellij.net/kotlin-native/$fileName"
|
return "https://jetbrains.bintray.com/kotlin-native-dependencies/$fileName"
|
||||||
}
|
}
|
||||||
|
|
||||||
protected File getBaseOutDir() {
|
protected File getBaseOutDir() {
|
||||||
@@ -71,6 +71,7 @@ class TgzNativeDep extends NativeDep {
|
|||||||
throw e
|
throw e
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: improve downloaded files caching
|
||||||
// TODO: do not extract if already extracted
|
// TODO: do not extract if already extracted
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user