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')
|
pack project(':LauncherAPI')
|
||||||
bundle 'org.ow2.asm:asm-commons:7.1'
|
bundle 'org.ow2.asm:asm-commons:7.1'
|
||||||
bundle 'mysql:mysql-connector-java:8.0.16'
|
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:3.11.0'
|
||||||
bundle 'org.jline:jline-reader:3.11.0'
|
bundle 'org.jline:jline-reader:3.11.0'
|
||||||
bundle 'org.jline:jline-terminal: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 'commons-codec:commons-codec:1.12'
|
||||||
bundle 'org.javassist:javassist:3.25.0-GA'
|
bundle 'org.javassist:javassist:3.25.0-GA'
|
||||||
bundle 'io.netty:netty-all:4.1.36.Final'
|
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.bouncycastle:bcpkix-jdk15on:1.61'
|
||||||
|
|
||||||
bundle 'org.slf4j:slf4j-simple:1.7.25'
|
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
|
build.dependsOn tasks.dumpLibs, tasks.dumpCompileOnlyLibs, tasks.dumpClientLibs, tasks.bundle, tasks.cleanjar
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
|
|
||||||
publications {
|
publications {
|
||||||
|
|
|
@ -48,14 +48,15 @@
|
||||||
|
|
||||||
defaultTasks 'build'
|
defaultTasks 'build'
|
||||||
|
|
||||||
|
if (hasProperty('mavenUsername') && hasProperty('mavenPassword'))
|
||||||
publishing {
|
publishing {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
// change URLs to point to your repos, e.g. http://my.org/repo
|
// change URLs to point to your repos, e.g. http://my.org/repo
|
||||||
url = version.endsWith('SNAPSHOT') ? mavenSnapshotRepository : mavenReleaseRepository
|
url = version.endsWith('SNAPSHOT') ? 'https://oss.sonatype.org/content/repositories/snapshots/' : 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
|
||||||
credentials {
|
credentials {
|
||||||
username mavenUsername
|
username getProperty('mavenUsername')
|
||||||
password mavenPassword
|
password getProperty('mavenPassword')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue