mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI.git
synced 2024-12-28 03:48:10 +01:00
Merge branch 'master' into managers
This commit is contained in:
commit
f4466059ac
32
build.gradle
32
build.gradle
@ -5,22 +5,16 @@ plugins {
|
||||
|
||||
group 'me.clip'
|
||||
version "2.10.7-DEV-${System.getProperty("BUILD_NUMBER")}"
|
||||
description 'PlaceholderAPI'
|
||||
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
description 'An awesome placeholder provider!'
|
||||
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
mavenLocal()
|
||||
maven {
|
||||
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
|
||||
}
|
||||
maven {
|
||||
url = 'https://repo.codemc.org/repository/maven-public'
|
||||
}
|
||||
maven {
|
||||
url = 'https://rayzr.dev/repo/'
|
||||
}
|
||||
|
||||
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/' })
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@ -38,18 +32,22 @@ dependencies {
|
||||
testRuntime "org.junit.jupiter:junit-jupiter-engine:5.6.2"
|
||||
}
|
||||
|
||||
import org.apache.tools.ant.filters.ReplaceTokens
|
||||
|
||||
processResources {
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
filter ReplaceTokens, tokens: [name: rootProject.name, version: project.version.toString(), description: project.description]
|
||||
filter org.apache.tools.ant.filters.ReplaceTokens, tokens: [name: rootProject.name, version: project.version.toString(), description: project.description]
|
||||
}
|
||||
}
|
||||
|
||||
compileJava.options.encoding = 'UTF-8'
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = 'UTF-8'
|
||||
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
archiveClassifier.set("")
|
||||
archiveClassifier = ""
|
||||
|
||||
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"
|
||||
|
@ -227,7 +227,8 @@ public final class CommandECloudExpansionList extends PlaceholderCommand
|
||||
int index = ((page - 1) * PAGE_SIZE) + 1;
|
||||
for (final CloudExpansion expansion : values)
|
||||
{
|
||||
builder.append("&8")
|
||||
builder.append("\n")
|
||||
.append("&8")
|
||||
.append(index++)
|
||||
.append(". ")
|
||||
.append((expansion.shouldUpdate() ? "&6" : expansion.hasExpansion() ? "&a" : "&7"))
|
||||
|
Loading…
Reference in New Issue
Block a user