mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 16:41:46 +03:00
[FEATURE] Подпись файлов при публикации в Maven
This commit is contained in:
parent
d20cf39e89
commit
8b71025896
5 changed files with 60 additions and 21 deletions
|
@ -163,27 +163,52 @@ task dumpClientLibs(type: Copy) {
|
|||
|
||||
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
launchserverapi(MavenPublication) {
|
||||
publishing {
|
||||
|
||||
publications {
|
||||
|
||||
launchserverapi(MavenPublication) {
|
||||
|
||||
artifactId = 'launchserver-api'
|
||||
artifact cleanjar
|
||||
pom {
|
||||
name = 'GravitLauncher LaunchServer API'
|
||||
description = 'GravitLauncher LaunchServer Module API'
|
||||
url = 'https://launcher.gravit.pro'
|
||||
licenses {
|
||||
license {
|
||||
name = 'GNU General Public License, Version 3.0'
|
||||
url = 'https://www.gnu.org/licenses/gpl-3.0.html'
|
||||
}
|
||||
}
|
||||
scm {
|
||||
connection = 'scm:git:https://github.com/GravitLauncher/Launcher.git'
|
||||
developerConnection = 'scm:git:ssh://git@github.com:GravitLauncher/Launcher.git'
|
||||
url = 'https://launcher.gravit.pro/'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
pom {
|
||||
|
||||
name = 'GravitLauncher LaunchServer API'
|
||||
|
||||
description = 'GravitLauncher LaunchServer Module API'
|
||||
|
||||
url = 'https://launcher.gravit.pro'
|
||||
|
||||
licenses {
|
||||
|
||||
license {
|
||||
|
||||
name = 'GNU General Public License, Version 3.0'
|
||||
|
||||
url = 'https://www.gnu.org/licenses/gpl-3.0.html'
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
scm {
|
||||
|
||||
connection = 'scm:git:https://github.com/GravitLauncher/Launcher.git'
|
||||
|
||||
developerConnection = 'scm:git:ssh://git@github.com:GravitLauncher/Launcher.git'
|
||||
|
||||
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 {
|
||||
id 'com.github.johnrengelman.shadow' version '5.0.0' apply false
|
||||
id 'maven-publish'
|
||||
id 'signing'
|
||||
}
|
||||
group = 'pro.gravit.launcher'
|
||||
version = '5.0.5-SNAPSHOT'
|
||||
|
|
Loading…
Reference in a new issue