This commit is contained in:
Edouard Oger 2020-05-14 10:13:58 -04:00
Родитель 69b0fb8ad7
Коммит f6f9f48366
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: A2F740742307674A
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -87,7 +87,7 @@ def useDownloadedLibs = !System.getenv('CI') && ext.libsGitSha != null
if (useDownloadedLibs) {
task downloadAndroidLibs(type: Download) {
src "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.application-services.build.libs.android.${rootProject.ext.libsGitSha}/artifacts/public/android.tar.gz"
src "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.application-services.build.libs.android.${rootProject.ext.libsGitSha}/artifacts/public/build/android.tar.gz"
dest new File(buildDir, "libs.android.${rootProject.ext.libsGitSha}.tar.gz")
doFirst {
@ -107,11 +107,11 @@ if (useDownloadedLibs) {
src {
switch (DefaultPlatform.RESOURCE_PREFIX) {
case 'darwin':
return "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.application-services.build.libs.desktop.macos.${rootProject.ext.libsGitSha}/artifacts/public/macos.tar.gz"
return "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.application-services.build.libs.desktop.macos.${rootProject.ext.libsGitSha}/artifacts/public/build/macos.tar.gz"
case 'linux-x86-64':
return "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.application-services.build.libs.desktop.linux.${rootProject.ext.libsGitSha}/artifacts/public/linux.tar.gz"
return "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.application-services.build.libs.desktop.linux.${rootProject.ext.libsGitSha}/artifacts/public/build/linux.tar.gz"
case 'win32-x86-64':
return "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.application-services.build.libs.desktop.win32-x86-64.${rootProject.ext.libsGitSha}/artifacts/public/win.tar.gz"
return "https://firefox-ci-tc.services.mozilla.com/api/index/v1/task/project.application-services.application-services.build.libs.desktop.win32-x86-64.${rootProject.ext.libsGitSha}/artifacts/public/build/win.tar.gz"
default:
throw new GradleException("Unknown host platform '${DefaultPlatform.RESOURCE_PREFIX}'. " +
"Set `ext.libsGitSha = null` in ${rootProject.rootDir}/build.gradle and build your own libs. " +