diff --git a/LaunchServer/build.gradle b/LaunchServer/build.gradle index c1b14d45..e370e04d 100644 --- a/LaunchServer/build.gradle +++ b/LaunchServer/build.gradle @@ -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 +} diff --git a/Launcher/build.gradle b/Launcher/build.gradle index 73125e38..96b87ed3 100644 --- a/Launcher/build.gradle +++ b/Launcher/build.gradle @@ -83,3 +83,8 @@ task dumpLibs(type: Copy) { } } } + + +signing { + sign publishing.publications.launcherclientapi +} diff --git a/LauncherAPI/build.gradle b/LauncherAPI/build.gradle index f0a91a2a..41050bc6 100644 --- a/LauncherAPI/build.gradle +++ b/LauncherAPI/build.gradle @@ -35,3 +35,7 @@ compile project(':LauncherCore') } } } + +signing { + sign publishing.publications.launcherwsapi +} diff --git a/LauncherCore/build.gradle b/LauncherCore/build.gradle index 63c682e6..eedc675a 100644 --- a/LauncherCore/build.gradle +++ b/LauncherCore/build.gradle @@ -37,3 +37,7 @@ } } } + +signing { + sign publishing.publications.launchercore +} diff --git a/build.gradle b/build.gradle index e3bfd666..4f48a011 100644 --- a/build.gradle +++ b/build.gradle @@ -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'