mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] Починил публикацию в скриптах gradle.
This commit is contained in:
parent
8b71025896
commit
50a9d96f71
5 changed files with 86 additions and 85 deletions
|
@ -57,6 +57,7 @@ task cleanjar(type: Jar, dependsOn: jar) {
|
|||
pack project(':LauncherAPI')
|
||||
bundle 'org.ow2.asm:asm-commons:7.1'
|
||||
bundle 'mysql:mysql-connector-java:8.0.16'
|
||||
bundle 'org.postgresql:postgresql:42.2.6'
|
||||
bundle 'org.jline:jline:3.11.0'
|
||||
bundle 'org.jline:jline-reader:3.11.0'
|
||||
bundle 'org.jline:jline-terminal:3.11.0'
|
||||
|
@ -66,7 +67,7 @@ pack project(':LauncherAPI')
|
|||
bundle 'commons-codec:commons-codec:1.12'
|
||||
bundle 'org.javassist:javassist:3.25.0-GA'
|
||||
bundle 'io.netty:netty-all:4.1.36.Final'
|
||||
bundle 'org.hibernate:hibernate-core:5.4.3.Final'
|
||||
bundle 'org.hibernate:hibernate-core:5.4.4.Final'
|
||||
bundle 'org.bouncycastle:bcpkix-jdk15on:1.61'
|
||||
|
||||
bundle 'org.slf4j:slf4j-simple:1.7.25'
|
||||
|
@ -162,7 +163,6 @@ task dumpClientLibs(type: Copy) {
|
|||
build.dependsOn tasks.dumpLibs, tasks.dumpCompileOnlyLibs, tasks.dumpClientLibs, tasks.bundle, tasks.cleanjar
|
||||
|
||||
|
||||
|
||||
publishing {
|
||||
|
||||
publications {
|
||||
|
@ -209,6 +209,6 @@ task dumpClientLibs(type: Copy) {
|
|||
|
||||
}
|
||||
|
||||
signing {
|
||||
signing {
|
||||
sign publishing.publications.launchserverapi
|
||||
}
|
||||
}
|
||||
|
|
|
@ -59,32 +59,32 @@ task dumpLibs(type: Copy) {
|
|||
|
||||
build.dependsOn tasks.genRuntimeJS, tasks.dumpLibs, tasks.shadowJar
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
launcherclientapi(MavenPublication) {
|
||||
publishing {
|
||||
publications {
|
||||
launcherclientapi(MavenPublication) {
|
||||
artifactId = 'launcher-client-api'
|
||||
artifact jar
|
||||
pom {
|
||||
name = 'GravitLauncher Client API'
|
||||
description = 'GravitLauncher Client 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 Client API'
|
||||
description = 'GravitLauncher Client 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 {
|
||||
|
||||
|
||||
signing {
|
||||
sign publishing.publications.launcherclientapi
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,31 +11,31 @@ compile project(':LauncherCore')
|
|||
classifier = 'clean'
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
launcherwsapi(MavenPublication) {
|
||||
publishing {
|
||||
publications {
|
||||
launcherwsapi(MavenPublication) {
|
||||
artifactId = 'launcher-ws-api'
|
||||
artifact jar
|
||||
pom {
|
||||
name = 'GravitLauncher WebSocket API'
|
||||
description = 'GravitLauncher WebSocket 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 WebSocket API'
|
||||
description = 'GravitLauncher WebSocket 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 {
|
||||
signing {
|
||||
sign publishing.publications.launcherwsapi
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,31 +13,31 @@
|
|||
classifier = 'clean'
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
launchercore(MavenPublication) {
|
||||
publishing {
|
||||
publications {
|
||||
launchercore(MavenPublication) {
|
||||
artifactId = 'launcher-core'
|
||||
artifact jar
|
||||
pom {
|
||||
name = 'GravitLauncher Core Utils'
|
||||
description = 'GravitLauncher Core Utils'
|
||||
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 Core Utils'
|
||||
description = 'GravitLauncher Core Utils'
|
||||
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 {
|
||||
signing {
|
||||
sign publishing.publications.launchercore
|
||||
}
|
||||
}
|
||||
|
|
21
build.gradle
21
build.gradle
|
@ -3,7 +3,7 @@
|
|||
id 'maven-publish'
|
||||
id 'signing'
|
||||
}
|
||||
group = 'pro.gravit.launcher'
|
||||
group = 'pro.gravit.launcher'
|
||||
version = '5.0.5-SNAPSHOT'
|
||||
|
||||
configure(subprojects.findAll { it.name != 'modules' }) {
|
||||
|
@ -48,15 +48,16 @@
|
|||
|
||||
defaultTasks 'build'
|
||||
|
||||
publishing {
|
||||
repositories {
|
||||
maven {
|
||||
// change URLs to point to your repos, e.g. http://my.org/repo
|
||||
url = version.endsWith('SNAPSHOT') ? mavenSnapshotRepository : mavenReleaseRepository
|
||||
credentials {
|
||||
username mavenUsername
|
||||
password mavenPassword
|
||||
if (hasProperty('mavenUsername') && hasProperty('mavenPassword'))
|
||||
publishing {
|
||||
repositories {
|
||||
maven {
|
||||
// change URLs to point to your repos, e.g. http://my.org/repo
|
||||
url = version.endsWith('SNAPSHOT') ? 'https://oss.sonatype.org/content/repositories/snapshots/' : 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
|
||||
credentials {
|
||||
username getProperty('mavenUsername')
|
||||
password getProperty('mavenPassword')
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue