From 8b71025896eb9adeb0b3034fc3a2d95e6f980c59 Mon Sep 17 00:00:00 2001 From: Gravit Date: Tue, 13 Aug 2019 03:20:28 +0700 Subject: [PATCH] =?UTF-8?q?[FEATURE]=20=D0=9F=D0=BE=D0=B4=D0=BF=D0=B8?= =?UTF-8?q?=D1=81=D1=8C=20=D1=84=D0=B0=D0=B9=D0=BB=D0=BE=D0=B2=20=D0=BF?= =?UTF-8?q?=D1=80=D0=B8=20=D0=BF=D1=83=D0=B1=D0=BB=D0=B8=D0=BA=D0=B0=D1=86?= =?UTF-8?q?=D0=B8=D0=B8=20=D0=B2=20Maven?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LaunchServer/build.gradle | 67 +++++++++++++++++++++++++++------------ Launcher/build.gradle | 5 +++ LauncherAPI/build.gradle | 4 +++ LauncherCore/build.gradle | 4 +++ build.gradle | 1 + 5 files changed, 60 insertions(+), 21 deletions(-) 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'