[ANY] Change domain

This commit is contained in:
Gravita 2023-01-11 18:16:38 +07:00
parent f71444b8d6
commit d30f0b900b
8 changed files with 18 additions and 15 deletions

View file

@ -186,7 +186,7 @@ task dumpClientLibs(type: Copy) {
pom { pom {
name = 'GravitLauncher LaunchServer API' name = 'GravitLauncher LaunchServer API'
description = 'GravitLauncher LaunchServer Module API' description = 'GravitLauncher LaunchServer Module API'
url = 'https://launcher.gravit.pro' url = 'https://gravitlauncher.com'
licenses { licenses {
license { license {
name = 'GNU General Public License, Version 3.0' name = 'GNU General Public License, Version 3.0'
@ -209,7 +209,7 @@ task dumpClientLibs(type: Copy) {
scm { scm {
connection = 'scm:git:https://github.com/GravitLauncher/Launcher.git' connection = 'scm:git:https://github.com/GravitLauncher/Launcher.git'
developerConnection = 'scm:git:ssh://git@github.com:GravitLauncher/Launcher.git' developerConnection = 'scm:git:ssh://git@github.com:GravitLauncher/Launcher.git'
url = 'https://launcher.gravit.pro/' url = 'https://gravitlauncher.com/'
} }
} }
} }

View file

@ -45,7 +45,7 @@ public final class LaunchServerConfig {
public static LaunchServerConfig getDefault(LaunchServer.LaunchServerEnv env) { public static LaunchServerConfig getDefault(LaunchServer.LaunchServerEnv env) {
LaunchServerConfig newConfig = new LaunchServerConfig(); LaunchServerConfig newConfig = new LaunchServerConfig();
newConfig.mirrors = new String[]{"https://mirror.gravit.pro/5.3.x/", "https://gravit-launcher-mirror.storage.googleapis.com/"}; newConfig.mirrors = new String[]{"https://mirror.gravitlauncher.com/5.3.x/", "https://gravit-launcher-mirror.storage.googleapis.com/"};
newConfig.launch4j = new LaunchServerConfig.ExeConf(); newConfig.launch4j = new LaunchServerConfig.ExeConf();
newConfig.launch4j.enabled = false; newConfig.launch4j.enabled = false;
newConfig.launch4j.copyright = "© GravitLauncher Team"; newConfig.launch4j.copyright = "© GravitLauncher Team";
@ -169,8 +169,11 @@ public void verify() {
if (!updateMirror) { if (!updateMirror) {
for (int i = 0; i < mirrors.length; ++i) { for (int i = 0; i < mirrors.length; ++i) {
if ("https://mirror.gravit.pro/5.2.x/".equals(mirrors[i])) { if ("https://mirror.gravit.pro/5.2.x/".equals(mirrors[i])) {
logger.warn("Replace mirror 'https://mirror.gravit.pro/5.2.x/' to 'https://mirror.gravit.pro/5.3.x/'. If you really need to use original url, use '-Dlaunchserver.config.disableUpdateMirror=true'"); logger.warn("Replace mirror 'https://mirror.gravit.pro/5.2.x/' to 'https://mirror.gravitlauncher.com/5.3.x/'. If you really need to use original url, use '-Dlaunchserver.config.disableUpdateMirror=true'");
mirrors[i] = "https://mirror.gravit.pro/5.3.x/"; mirrors[i] = "https://mirror.gravitlauncher.com/5.3.x/";
} else if ("https://mirror.gravit.pro/5.3.x/".equals(mirrors[i])) {
logger.warn("Replace mirror 'https://mirror.gravit.pro/5.3.x/' to 'https://mirror.gravitlauncher.com/5.3.x/'. If you really need to use original url, use '-Dlaunchserver.config.disableUpdateMirror=true'");
mirrors[i] = "https://mirror.gravitlauncher.com/5.3.x/";
} }
} }
} }

View file

@ -81,7 +81,7 @@ task dumpLibs(type: Copy) {
pom { pom {
name = 'GravitLauncher Client API' name = 'GravitLauncher Client API'
description = 'GravitLauncher Client Module API' description = 'GravitLauncher Client Module API'
url = 'https://launcher.gravit.pro' url = 'https://gravitlauncher.com'
licenses { licenses {
license { license {
name = 'GNU General Public License, Version 3.0' name = 'GNU General Public License, Version 3.0'
@ -103,7 +103,7 @@ task dumpLibs(type: Copy) {
scm { scm {
connection = 'scm:git:https://github.com/GravitLauncher/Launcher.git' connection = 'scm:git:https://github.com/GravitLauncher/Launcher.git'
developerConnection = 'scm:git:ssh://git@github.com:GravitLauncher/Launcher.git' developerConnection = 'scm:git:ssh://git@github.com:GravitLauncher/Launcher.git'
url = 'https://launcher.gravit.pro/' url = 'https://gravitlauncher.com/'
} }
} }
} }

View file

@ -59,7 +59,7 @@ task javadocJar(type: Jar) {
pom { pom {
name = 'GravitLauncher WebSocket API' name = 'GravitLauncher WebSocket API'
description = 'GravitLauncher WebSocket Module API' description = 'GravitLauncher WebSocket Module API'
url = 'https://launcher.gravit.pro' url = 'https://gravitlauncher.com'
licenses { licenses {
license { license {
name = 'GNU General Public License, Version 3.0' name = 'GNU General Public License, Version 3.0'
@ -81,7 +81,7 @@ task javadocJar(type: Jar) {
scm { scm {
connection = 'scm:git:https://github.com/GravitLauncher/Launcher.git' connection = 'scm:git:https://github.com/GravitLauncher/Launcher.git'
developerConnection = 'scm:git:ssh://git@github.com:GravitLauncher/Launcher.git' developerConnection = 'scm:git:ssh://git@github.com:GravitLauncher/Launcher.git'
url = 'https://launcher.gravit.pro/' url = 'https://gravitlauncher.com/'
} }
} }
} }

View file

@ -65,7 +65,7 @@ task javadocJar(type: Jar) {
pom { pom {
name = 'GravitLauncher Core Utils' name = 'GravitLauncher Core Utils'
description = 'GravitLauncher Core Utils' description = 'GravitLauncher Core Utils'
url = 'https://launcher.gravit.pro' url = 'https://gravitlauncher.com'
licenses { licenses {
license { license {
name = 'GNU General Public License, Version 3.0' name = 'GNU General Public License, Version 3.0'
@ -87,7 +87,7 @@ task javadocJar(type: Jar) {
scm { scm {
connection = 'scm:git:https://github.com/GravitLauncher/Launcher.git' connection = 'scm:git:https://github.com/GravitLauncher/Launcher.git'
developerConnection = 'scm:git:ssh://git@github.com:GravitLauncher/Launcher.git' developerConnection = 'scm:git:ssh://git@github.com:GravitLauncher/Launcher.git'
url = 'https://launcher.gravit.pro/' url = 'https://gravitlauncher.com/'
} }
} }
} }

View file

@ -4,7 +4,7 @@
* [See license](LICENSE) * [See license](LICENSE)
* [See code of conduct](CODE_OF_CONDUCT.md) * [See code of conduct](CODE_OF_CONDUCT.md)
* [WIKI](https://launcher.gravit.pro) * [WIKI](https://gravitlauncher.com)
* Get it (requires cURL): * Get it (requires cURL):
```sh ```sh

View file

@ -82,7 +82,7 @@ pack project(':LauncherAPI')
pom { pom {
name = 'GravitLauncher ServerWrapper API' name = 'GravitLauncher ServerWrapper API'
description = 'GravitLauncher ServerWrapper Module API' description = 'GravitLauncher ServerWrapper Module API'
url = 'https://launcher.gravit.pro' url = 'https://gravitlauncher.com'
licenses { licenses {
license { license {
name = 'GNU General Public License, Version 3.0' name = 'GNU General Public License, Version 3.0'
@ -105,7 +105,7 @@ pack project(':LauncherAPI')
scm { scm {
connection = 'scm:git:https://github.com/GravitLauncher/Launcher.git' connection = 'scm:git:https://github.com/GravitLauncher/Launcher.git'
developerConnection = 'scm:git:ssh://git@github.com:GravitLauncher/Launcher.git' developerConnection = 'scm:git:ssh://git@github.com:GravitLauncher/Launcher.git'
url = 'https://launcher.gravit.pro/' url = 'https://gravitlauncher.com/'
} }
} }
} }

@ -1 +1 @@
Subproject commit aba8a880bd644c211f6f6d6fdceedd21adf66ca6 Subproject commit 614aea895f2d3ccbcf311b8058ab7a5f1dcd8602