mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FEATURE] Подпись файлов при публикации в Maven
This commit is contained in:
parent
d20cf39e89
commit
8b71025896
5 changed files with 60 additions and 21 deletions
|
@ -164,26 +164,51 @@ task dumpClientLibs(type: Copy) {
|
||||||
|
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|
||||||
publications {
|
publications {
|
||||||
|
|
||||||
launchserverapi(MavenPublication) {
|
launchserverapi(MavenPublication) {
|
||||||
|
|
||||||
artifactId = 'launchserver-api'
|
artifactId = 'launchserver-api'
|
||||||
artifact cleanjar
|
artifact cleanjar
|
||||||
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://launcher.gravit.pro'
|
||||||
|
|
||||||
licenses {
|
licenses {
|
||||||
|
|
||||||
license {
|
license {
|
||||||
|
|
||||||
name = 'GNU General Public License, Version 3.0'
|
name = 'GNU General Public License, Version 3.0'
|
||||||
|
|
||||||
url = 'https://www.gnu.org/licenses/gpl-3.0.html'
|
url = 'https://www.gnu.org/licenses/gpl-3.0.html'
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
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://launcher.gravit.pro/'
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
signing {
|
||||||
|
sign publishing.publications.launchserverapi
|
||||||
}
|
}
|
||||||
|
|
|
@ -83,3 +83,8 @@ task dumpLibs(type: Copy) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
signing {
|
||||||
|
sign publishing.publications.launcherclientapi
|
||||||
|
}
|
||||||
|
|
|
@ -35,3 +35,7 @@ compile project(':LauncherCore')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
signing {
|
||||||
|
sign publishing.publications.launcherwsapi
|
||||||
|
}
|
||||||
|
|
|
@ -37,3 +37,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
signing {
|
||||||
|
sign publishing.publications.launchercore
|
||||||
|
}
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
plugins {
|
plugins {
|
||||||
id 'com.github.johnrengelman.shadow' version '5.0.0' apply false
|
id 'com.github.johnrengelman.shadow' version '5.0.0' apply false
|
||||||
id 'maven-publish'
|
id 'maven-publish'
|
||||||
|
id 'signing'
|
||||||
}
|
}
|
||||||
group = 'pro.gravit.launcher'
|
group = 'pro.gravit.launcher'
|
||||||
version = '5.0.5-SNAPSHOT'
|
version = '5.0.5-SNAPSHOT'
|
||||||
|
|
Loading…
Reference in a new issue