mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-04-19 14:33:04 +03:00
Merge branch 'dev' into patch-8
This commit is contained in:
commit
a6c9ab7797
8 changed files with 71 additions and 9 deletions
|
@ -11,6 +11,7 @@ before_script:
|
||||||
- apt-get update -qq && apt-get install -y -qq git git-core
|
- apt-get update -qq && apt-get install -y -qq git git-core
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
|
key: ${CI_COMMIT_REF_NAME}
|
||||||
paths:
|
paths:
|
||||||
- .gradle/wrapper
|
- .gradle/wrapper
|
||||||
- .gradle/caches
|
- .gradle/caches
|
||||||
|
@ -22,10 +23,14 @@ build:
|
||||||
- git submodule sync
|
- git submodule sync
|
||||||
- git submodule update --init --recursive
|
- git submodule update --init --recursive
|
||||||
- ./gradlew assemble
|
- ./gradlew assemble
|
||||||
|
- mv LaunchServer/build/libs/*.jar LaunchServer
|
||||||
|
- mv ServerWrapper/build/libs/*.jar ServerWrapper
|
||||||
|
- mv modules/*_module/build/libs/*.jar modules
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- LaunchServer/build/libs/*
|
- LaunchServer/*.jar
|
||||||
- ServerWrapper/build/libs/*.jar
|
- ServerWrapper/*.jar
|
||||||
|
- modules/*.jar
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
|
|
||||||
after_script:
|
after_script:
|
||||||
|
|
|
@ -167,7 +167,9 @@ task dumpClientLibs(type: Copy) {
|
||||||
publications {
|
publications {
|
||||||
launchserverapi(MavenPublication) {
|
launchserverapi(MavenPublication) {
|
||||||
artifactId = 'launchserver-api'
|
artifactId = 'launchserver-api'
|
||||||
artifact cleanjar
|
artifact(cleanjar) {
|
||||||
|
classifier ""
|
||||||
|
}
|
||||||
pom {
|
pom {
|
||||||
name = 'GravitLauncher LaunchServer API'
|
name = 'GravitLauncher LaunchServer API'
|
||||||
description = 'GravitLauncher LaunchServer Module API'
|
description = 'GravitLauncher LaunchServer Module API'
|
||||||
|
@ -178,6 +180,18 @@ task dumpClientLibs(type: Copy) {
|
||||||
url = 'https://www.gnu.org/licenses/gpl-3.0.html'
|
url = 'https://www.gnu.org/licenses/gpl-3.0.html'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
developers {
|
||||||
|
developer {
|
||||||
|
id = 'gravit'
|
||||||
|
name = 'Gravit'
|
||||||
|
email = 'gravit.min@ya.ru'
|
||||||
|
}
|
||||||
|
developer {
|
||||||
|
id = 'zaxar163'
|
||||||
|
name = 'Zaxar163'
|
||||||
|
email = 'zahar.vcherachny@yandex.ru'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
scm {
|
scm {
|
||||||
connection = 'scm:git:https://github.com/GravitLauncher/Launcher.git'
|
connection = 'scm:git:https://github.com/GravitLauncher/Launcher.git'
|
||||||
|
|
|
@ -92,6 +92,7 @@ public void setGuardType(String key) {
|
||||||
|
|
||||||
public void push(final int value) {
|
public void push(final int value) {
|
||||||
if (value >= -1 && value <= 5)
|
if (value >= -1 && value <= 5)
|
||||||
|
if (value >= -1 && value <= 5)
|
||||||
constructor.instructions.add(new InsnNode(Opcodes.ICONST_0 + value));
|
constructor.instructions.add(new InsnNode(Opcodes.ICONST_0 + value));
|
||||||
else if (value >= Byte.MIN_VALUE && value <= Byte.MAX_VALUE)
|
else if (value >= Byte.MIN_VALUE && value <= Byte.MAX_VALUE)
|
||||||
constructor.instructions.add(new IntInsnNode(Opcodes.BIPUSH, value));
|
constructor.instructions.add(new IntInsnNode(Opcodes.BIPUSH, value));
|
||||||
|
|
|
@ -62,7 +62,9 @@ task dumpLibs(type: Copy) {
|
||||||
publications {
|
publications {
|
||||||
launcherclientapi(MavenPublication) {
|
launcherclientapi(MavenPublication) {
|
||||||
artifactId = 'launcher-client-api'
|
artifactId = 'launcher-client-api'
|
||||||
artifact jar
|
artifact(jar) {
|
||||||
|
classifier ""
|
||||||
|
}
|
||||||
pom {
|
pom {
|
||||||
name = 'GravitLauncher Client API'
|
name = 'GravitLauncher Client API'
|
||||||
description = 'GravitLauncher Client Module API'
|
description = 'GravitLauncher Client Module API'
|
||||||
|
@ -73,6 +75,18 @@ task dumpLibs(type: Copy) {
|
||||||
url = 'https://www.gnu.org/licenses/gpl-3.0.html'
|
url = 'https://www.gnu.org/licenses/gpl-3.0.html'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
developers {
|
||||||
|
developer {
|
||||||
|
id = 'gravit'
|
||||||
|
name = 'Gravit'
|
||||||
|
email = 'gravit.min@ya.ru'
|
||||||
|
}
|
||||||
|
developer {
|
||||||
|
id = 'zaxar163'
|
||||||
|
name = 'Zaxar163'
|
||||||
|
email = 'zahar.vcherachny@yandex.ru'
|
||||||
|
}
|
||||||
|
}
|
||||||
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'
|
||||||
|
|
|
@ -15,7 +15,9 @@ compile project(':LauncherCore')
|
||||||
publications {
|
publications {
|
||||||
launcherwsapi(MavenPublication) {
|
launcherwsapi(MavenPublication) {
|
||||||
artifactId = 'launcher-ws-api'
|
artifactId = 'launcher-ws-api'
|
||||||
artifact jar
|
artifact(jar) {
|
||||||
|
classifier ""
|
||||||
|
}
|
||||||
pom {
|
pom {
|
||||||
name = 'GravitLauncher WebSocket API'
|
name = 'GravitLauncher WebSocket API'
|
||||||
description = 'GravitLauncher WebSocket Module API'
|
description = 'GravitLauncher WebSocket Module API'
|
||||||
|
@ -26,6 +28,18 @@ compile project(':LauncherCore')
|
||||||
url = 'https://www.gnu.org/licenses/gpl-3.0.html'
|
url = 'https://www.gnu.org/licenses/gpl-3.0.html'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
developers {
|
||||||
|
developer {
|
||||||
|
id = 'gravit'
|
||||||
|
name = 'Gravit'
|
||||||
|
email = 'gravit.min@ya.ru'
|
||||||
|
}
|
||||||
|
developer {
|
||||||
|
id = 'zaxar163'
|
||||||
|
name = 'Zaxar163'
|
||||||
|
email = 'zahar.vcherachny@yandex.ru'
|
||||||
|
}
|
||||||
|
}
|
||||||
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'
|
||||||
|
|
|
@ -17,7 +17,9 @@
|
||||||
publications {
|
publications {
|
||||||
launchercore(MavenPublication) {
|
launchercore(MavenPublication) {
|
||||||
artifactId = 'launcher-core'
|
artifactId = 'launcher-core'
|
||||||
artifact jar
|
artifact(jar) {
|
||||||
|
classifier ""
|
||||||
|
}
|
||||||
pom {
|
pom {
|
||||||
name = 'GravitLauncher Core Utils'
|
name = 'GravitLauncher Core Utils'
|
||||||
description = 'GravitLauncher Core Utils'
|
description = 'GravitLauncher Core Utils'
|
||||||
|
@ -28,6 +30,18 @@
|
||||||
url = 'https://www.gnu.org/licenses/gpl-3.0.html'
|
url = 'https://www.gnu.org/licenses/gpl-3.0.html'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
developers {
|
||||||
|
developer {
|
||||||
|
id = 'gravit'
|
||||||
|
name = 'Gravit'
|
||||||
|
email = 'gravit.min@ya.ru'
|
||||||
|
}
|
||||||
|
developer {
|
||||||
|
id = 'zaxar163'
|
||||||
|
name = 'Zaxar163'
|
||||||
|
email = 'zahar.vcherachny@yandex.ru'
|
||||||
|
}
|
||||||
|
}
|
||||||
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'
|
||||||
|
|
|
@ -22,9 +22,9 @@ public final class Version {
|
||||||
public final Type release;
|
public final Type release;
|
||||||
public static final int MAJOR = 5;
|
public static final int MAJOR = 5;
|
||||||
public static final int MINOR = 0;
|
public static final int MINOR = 0;
|
||||||
public static final int PATCH = 6;
|
public static final int PATCH = 7;
|
||||||
public static final int BUILD = 1;
|
public static final int BUILD = 1;
|
||||||
public static final Version.Type RELEASE = Version.Type.STABLE;
|
public static final Version.Type RELEASE = Version.Type.DEV;
|
||||||
|
|
||||||
@LauncherAPI
|
@LauncherAPI
|
||||||
public Version(int major, int minor, int patch) {
|
public Version(int major, int minor, int patch) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
id 'signing'
|
id 'signing'
|
||||||
}
|
}
|
||||||
group = 'pro.gravit.launcher'
|
group = 'pro.gravit.launcher'
|
||||||
version = '5.0.6'
|
version = '5.0.7-SNAPSHOT'
|
||||||
|
|
||||||
configure(subprojects.findAll { it.name != 'modules' }) {
|
configure(subprojects.findAll { it.name != 'modules' }) {
|
||||||
apply plugin: 'idea'
|
apply plugin: 'idea'
|
||||||
|
|
Loading…
Reference in a new issue