[FIX] Исправления скриптов публикации в Maven

This commit is contained in:
Gravit 2019-08-22 14:36:50 +07:00
parent 27423f9f36
commit fef5eac085
No known key found for this signature in database
GPG key ID: 061981E1E85D3216
6 changed files with 63 additions and 7 deletions

View file

@ -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'

View file

@ -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'

View file

@ -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'

View file

@ -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'

View file

@ -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) {

View file

@ -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'