Replaces ChatColor with adventure text.
This commit is contained in:
21
build.gradle
21
build.gradle
@@ -1,10 +1,10 @@
|
||||
plugins {
|
||||
id 'java'
|
||||
id 'java-library'
|
||||
id 'maven-publish'
|
||||
}
|
||||
|
||||
group = 'com.majinnaibu.minecraft.plugins.'
|
||||
version = '0.2.0-SNAPSHOT'
|
||||
|
||||
group = 'com.majinnaibu.minecraft.plugins'
|
||||
version = '0.2.1-SNAPSHOT'
|
||||
description = "ScoreKeeper"
|
||||
|
||||
java {
|
||||
@@ -13,6 +13,14 @@ java {
|
||||
}
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
maven(MavenPublication) {
|
||||
from components.java
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
maven { url = 'https://repo.papermc.io/repository/maven-public/' }
|
||||
@@ -27,7 +35,12 @@ tasks.withType(JavaCompile).configureEach {
|
||||
// options.compilerArgs << "-Xlint:deprecation"
|
||||
}
|
||||
|
||||
tasks.withType(Javadoc).configureEach {
|
||||
options.encoding = 'UTF-8'
|
||||
}
|
||||
|
||||
processResources {
|
||||
inputs.property "version", project.version
|
||||
filesMatching('plugin.yml') {
|
||||
expand(project.properties)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user