mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2025-01-01 14:07:56 +01:00
Fix API buildscript
This commit is contained in:
parent
99c3d68d3a
commit
3eca6205ab
@ -1,9 +1,9 @@
|
|||||||
group = 'net.luckperms'
|
group = 'net.luckperms'
|
||||||
project.version = '5.3'
|
project.version = '5.4'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly 'org.checkerframework:checker-qual:3.12.0'
|
compileOnly 'org.checkerframework:checker-qual:3.21.2'
|
||||||
compileOnly 'org.jetbrains:annotations:20.1.0'
|
compileOnly 'org.jetbrains:annotations:23.0.0'
|
||||||
}
|
}
|
||||||
|
|
||||||
// Only used occasionally for deployment - not needed for normal builds.
|
// Only used occasionally for deployment - not needed for normal builds.
|
||||||
@ -18,12 +18,12 @@ if (project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePass
|
|||||||
options.charSet = 'UTF-8'
|
options.charSet = 'UTF-8'
|
||||||
options.links(
|
options.links(
|
||||||
'https://checkerframework.org/api/',
|
'https://checkerframework.org/api/',
|
||||||
'https://javadoc.io/static/org.jetbrains/annotations/20.1.0/'
|
'https://javadoc.io/static/org.jetbrains/annotations/23.0.0/'
|
||||||
)
|
)
|
||||||
options.addStringOption('Xdoclint:none', '-quiet')
|
options.addStringOption('Xdoclint:none', '-quiet')
|
||||||
|
options.addStringOption('-since', '5.0,5.1,5.2,5.3,5.4')
|
||||||
|
|
||||||
if (JavaVersion.current() > JavaVersion.VERSION_1_8) {
|
if (JavaVersion.current() > JavaVersion.VERSION_1_8) {
|
||||||
options.addBooleanOption('-no-module-directories', true)
|
|
||||||
options.links.add('https://docs.oracle.com/en/java/javase/11/docs/api/')
|
options.links.add('https://docs.oracle.com/en/java/javase/11/docs/api/')
|
||||||
} else {
|
} else {
|
||||||
options.links.add('https://docs.oracle.com/javase/8/docs/api/')
|
options.links.add('https://docs.oracle.com/javase/8/docs/api/')
|
||||||
@ -45,11 +45,6 @@ if (project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePass
|
|||||||
archives sourcesJar
|
archives sourcesJar
|
||||||
}
|
}
|
||||||
|
|
||||||
signing {
|
|
||||||
useGpgCmd()
|
|
||||||
sign configurations.archives
|
|
||||||
}
|
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
@ -73,44 +68,46 @@ if (project.hasProperty('sonatypeUsername') && project.hasProperty('sonatypePass
|
|||||||
artifact javadocJar
|
artifact javadocJar
|
||||||
|
|
||||||
pom {
|
pom {
|
||||||
name 'LuckPerms API'
|
name = 'LuckPerms API'
|
||||||
description 'A permissions plugin for Minecraft servers.'
|
description = 'A permissions plugin for Minecraft servers.'
|
||||||
url 'https://luckperms.net'
|
url = 'https://luckperms.net'
|
||||||
|
|
||||||
licenses {
|
licenses {
|
||||||
license {
|
license {
|
||||||
name 'MIT'
|
name = 'MIT'
|
||||||
url 'https://opensource.org/licenses/MIT'
|
url = 'https://opensource.org/licenses/MIT'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
developers {
|
developers {
|
||||||
developer {
|
developer {
|
||||||
id 'lucko'
|
id = 'lucko'
|
||||||
name 'Luck'
|
name = 'Luck'
|
||||||
url 'https://lucko.me'
|
url = 'https://lucko.me'
|
||||||
email 'git@lucko.me'
|
email = 'git@lucko.me'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
scm {
|
scm {
|
||||||
connection 'scm:git:https://github.com/lucko/LuckPerms.git'
|
connection = 'scm:git:https://github.com/LuckPerms/LuckPerms.git'
|
||||||
developerConnection 'scm:git:git@github.com:lucko/LuckPerms.git'
|
developerConnection = 'scm:git:git@github.com:LuckPerms/LuckPerms.git'
|
||||||
url 'https://github.com/lucko/LuckPerms'
|
url = 'https://github.com/LuckPerms/LuckPerms'
|
||||||
}
|
|
||||||
|
|
||||||
ciManagement {
|
|
||||||
system 'Jenkins'
|
|
||||||
url 'https://ci.lucko.me/job/LuckPerms'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
issueManagement {
|
issueManagement {
|
||||||
system 'GitHub'
|
system = 'GitHub'
|
||||||
url 'https://github.com/lucko/LuckPerms/issues'
|
url = 'https://github.com/LuckPerms/LuckPerms/issues'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
signing {
|
||||||
|
useGpgCmd()
|
||||||
|
sign configurations.archives
|
||||||
|
sign publishing.publications.mavenJava
|
||||||
|
required = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
@ -8,10 +8,11 @@
|
|||||||
<li><a target="_top" href="https://luckperms.net">Project Website</a></li>
|
<li><a target="_top" href="https://luckperms.net">Project Website</a></li>
|
||||||
<li><a target="_top" href="https://luckperms.net/wiki/Developer-API">Wiki - API Introduction</a></li>
|
<li><a target="_top" href="https://luckperms.net/wiki/Developer-API">Wiki - API Introduction</a></li>
|
||||||
<li><a target="_top" href="https://luckperms.net/wiki/Developer-API-Usage">Wiki - API Usage</a></li>
|
<li><a target="_top" href="https://luckperms.net/wiki/Developer-API-Usage">Wiki - API Usage</a></li>
|
||||||
|
<li><a target="_top" href="https://github.com/LuckPerms/LuckPerms">Source Code</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<h4>Maven</h4>
|
<h4>Maven</h4>
|
||||||
<p>
|
<p>
|
||||||
The API artifact is deployed to Maven Central under
|
The API artifact is deployed to Maven Central with
|
||||||
<a target="_top" href="https://search.maven.org/artifact/net.luckperms/api">
|
<a target="_top" href="https://search.maven.org/artifact/net.luckperms/api">
|
||||||
group id: <b><code>net.luckperms</code></b>, artifact id: <b><code>api</code></b>.
|
group id: <b><code>net.luckperms</code></b>, artifact id: <b><code>api</code></b>.
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user