v1.1 - add auto ping text color based on latency
This commit is contained in:
parent
f1e711fe4c
commit
44e2df0b32
11 changed files with 183 additions and 34 deletions
21
build.gradle
21
build.gradle
|
@ -11,13 +11,11 @@ version = project.mod_version
|
|||
group = project.maven_group
|
||||
|
||||
dependencies {
|
||||
//to change the versions see the gradle.properties file
|
||||
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
||||
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
|
||||
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
|
||||
|
||||
// Fabric API. This is technically optional, but you probably want it anyway.
|
||||
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
|
||||
testImplementation 'junit:junit:4.13'
|
||||
}
|
||||
|
||||
processResources {
|
||||
|
@ -33,9 +31,6 @@ processResources {
|
|||
}
|
||||
}
|
||||
|
||||
// ensure that the encoding is set to UTF-8, no matter what the system default is
|
||||
// this fixes some edge cases with special characters not displaying correctly
|
||||
// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
|
@ -72,3 +67,17 @@ publishing {
|
|||
// mavenLocal()
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main.java {
|
||||
include 'com/vladmarica/betterpingdisplay/**/*'
|
||||
exclude 'net/fabricmc/*'
|
||||
}
|
||||
test.java {
|
||||
include 'com/vladmarica/betterpingdisplay/**/*'
|
||||
}
|
||||
}
|
||||
|
||||
test {
|
||||
useJUnit()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue