mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 14:23:28 +07:00
OPENIDE #200 Move gits.json.xz from download.jetbrains.com to download.openide.ru
(cherry picked from commit 236c0ea82d)
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
//
|
||||
// Modified by Nikita Iarychenko at 2025 as part of the OpenIDE project(https://openide.ru).
|
||||
// Any modifications are available on the same license terms as the original source code.
|
||||
package git4idea.config
|
||||
|
||||
import com.fasterxml.jackson.databind.ObjectMapper
|
||||
@@ -17,7 +20,7 @@ import org.tukaani.xz.XZInputStream
|
||||
import java.io.ByteArrayInputStream
|
||||
import java.io.File
|
||||
|
||||
private const val feedUrl = "https://download.jetbrains.com/jdk/feed/v1/gits.json.xz"
|
||||
private const val feedUrl = "https://download.openide.ru/jdk/feed/v1/gits.json.xz"
|
||||
private val LOG = Logger.getInstance("#git4idea.config.GitDownloadAndInstall")
|
||||
|
||||
fun downloadAndInstallGit(project: Project, onSuccess: () -> Unit = {}) {
|
||||
|
||||
Reference in New Issue
Block a user