mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-12-26 19:18:17 +01:00
Fix buildscript deployment config for Sonatype
This commit is contained in:
parent
1445a3faec
commit
1cc156d6f6
@ -6,12 +6,21 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePassword')) {
|
if (project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePassword')) {
|
||||||
|
|
||||||
apply plugin: 'signing'
|
apply plugin: 'signing'
|
||||||
|
|
||||||
task javadocJar(type: Jar) {
|
javadoc {
|
||||||
|
options.encoding = 'UTF-8'
|
||||||
|
options.charSet = 'UTF-8'
|
||||||
|
options.links(
|
||||||
|
'https://google.github.io/guava/releases/21.0/api/docs/',
|
||||||
|
'https://docs.oracle.com/javase/8/docs/api/'
|
||||||
|
)
|
||||||
|
options.addStringOption('Xdoclint:none', '-quiet')
|
||||||
|
}
|
||||||
|
|
||||||
|
task javadocJar(type: Jar, dependsOn: javadoc) {
|
||||||
classifier 'javadoc'
|
classifier 'javadoc'
|
||||||
from javadoc
|
from javadoc.destinationDir
|
||||||
}
|
}
|
||||||
|
|
||||||
task sourcesJar(type: Jar) {
|
task sourcesJar(type: Jar) {
|
||||||
@ -25,7 +34,7 @@ if (project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePass
|
|||||||
}
|
}
|
||||||
|
|
||||||
signing {
|
signing {
|
||||||
required = false
|
useGpgCmd()
|
||||||
sign configurations.archives
|
sign configurations.archives
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -41,7 +50,7 @@ if (project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePass
|
|||||||
pom {
|
pom {
|
||||||
project {
|
project {
|
||||||
name 'LuckPerms API'
|
name 'LuckPerms API'
|
||||||
description 'An advanced permissions plugin for Bukkit/Spigot, BungeeCord and Sponge.'
|
description 'An advanced permissions plugin for Bukkit/Spigot, BungeeCord, Sponge, Nukkit and Velocity.'
|
||||||
url 'https://github.com/lucko/LuckPerms'
|
url 'https://github.com/lucko/LuckPerms'
|
||||||
|
|
||||||
licenses {
|
licenses {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
dependencies {
|
dependencies {
|
||||||
compile project(':api')
|
compile project(':luckperms-api')
|
||||||
|
|
||||||
compile 'org.checkerframework:checker-qual:2.5.5'
|
compile 'org.checkerframework:checker-qual:2.5.5'
|
||||||
compile('net.kyori:text:1.11-1.6.4') {
|
compile('net.kyori:text:1.11-1.6.4') {
|
||||||
|
@ -1,6 +1,10 @@
|
|||||||
rootProject.name = 'luckperms'
|
rootProject.name = 'luckperms'
|
||||||
|
|
||||||
|
// set the artifact id for the API to 'luckperms-api'
|
||||||
|
include 'api'
|
||||||
|
findProject(':api')?.name = 'luckperms-api'
|
||||||
|
|
||||||
include (
|
include (
|
||||||
'api',
|
|
||||||
'common',
|
'common',
|
||||||
'bukkit',
|
'bukkit',
|
||||||
'bukkit-legacy',
|
'bukkit-legacy',
|
||||||
|
Loading…
Reference in New Issue
Block a user