mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-18 00:46:55 +01:00
remove JSONMessage repo, Update archive file name and license stuff
This commit is contained in:
parent
fc453a9d7f
commit
8c15cdf7cb
21
build.gradle
21
build.gradle
@ -12,8 +12,7 @@ description "An awesome placeholder provider!"
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
||||
maven({ url = "https://rayzr.dev/repo/" })
|
||||
|
||||
maven({ url = "https://repo.codemc.org/repository/maven-public" })
|
||||
maven({ url = "https://hub.spigotmc.org/nexus/content/repositories/snapshots/" })
|
||||
}
|
||||
@ -21,7 +20,6 @@ repositories {
|
||||
dependencies {
|
||||
implementation "com.google.code.gson:gson:2.8.6"
|
||||
implementation "org.bstats:bstats-bukkit:1.5"
|
||||
implementation "me.rayzr522:jsonmessage:1.2.1"
|
||||
|
||||
compileOnly "org.spigotmc:spigot-api:1.16.1-R0.1-SNAPSHOT"
|
||||
compileOnly "org.jetbrains:annotations:19.0.0"
|
||||
@ -48,20 +46,23 @@ tasks.withType(JavaCompile) {
|
||||
|
||||
shadowJar {
|
||||
archiveClassifier.set("")
|
||||
|
||||
archiveFileName = "PlaceholderAPI-${project.version}.jar"
|
||||
relocate "org.bstats", "me.clip.placeholderapi.metrics"
|
||||
relocate "com.google.gson", "me.clip.placeholderapi.libs.gson"
|
||||
relocate "me.rayzr522.jsonmessage", "me.clip.placeholderapi.libs.jsonmessage"
|
||||
}
|
||||
|
||||
license {
|
||||
header = file("headers/header.txt")
|
||||
|
||||
matching('**/*.java') {
|
||||
header = file('headers/main.txt')
|
||||
}
|
||||
|
||||
matching('**/JSONMessage.java') {
|
||||
header = file('headers/jsonmessage.txt')
|
||||
}
|
||||
|
||||
ext {
|
||||
year = 2020
|
||||
}
|
||||
|
||||
include "**/*.java"
|
||||
}
|
||||
|
||||
test {
|
||||
@ -92,7 +93,7 @@ publishing {
|
||||
publications {
|
||||
mavenJava(MavenPublication) {
|
||||
from components.java
|
||||
|
||||
|
||||
pom.withXml {
|
||||
asNode().appendNode("packaging", "jar")
|
||||
asNode().remove(asNode().get("dependencies"))
|
||||
|
7
headers/jsonmessage.txt
Normal file
7
headers/jsonmessage.txt
Normal file
@ -0,0 +1,7 @@
|
||||
Copyright (c) 2018-2020 Peter Blood
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
Loading…
Reference in New Issue
Block a user