Update to 1.19.3
This commit is contained in:
parent
8da4845534
commit
c5ef8a2eab
4 changed files with 24 additions and 63 deletions
51
build.gradle
51
build.gradle
|
@ -28,16 +28,10 @@ dependencies {
|
||||||
}
|
}
|
||||||
|
|
||||||
processResources {
|
processResources {
|
||||||
inputs.property "version", project.version
|
inputs.property 'version', version
|
||||||
duplicatesStrategy = 'warn'
|
|
||||||
|
|
||||||
from(sourceSets.main.resources.srcDirs) {
|
filesMatching('quilt.mod.json') {
|
||||||
include "fabric.mod.json"
|
expand "version": version
|
||||||
expand "version": project.version
|
|
||||||
}
|
|
||||||
|
|
||||||
from(sourceSets.main.resources.srcDirs) {
|
|
||||||
exclude "fabric.mod.json"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -45,49 +39,14 @@ tasks.withType(JavaCompile) {
|
||||||
options.encoding = "UTF-8"
|
options.encoding = "UTF-8"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
|
java {
|
||||||
// if it is present.
|
withSourcesJar()
|
||||||
// If you remove this task, sources will not be generated.
|
|
||||||
task sourcesJar(type: Jar, dependsOn: classes) {
|
|
||||||
classifier = "sources"
|
|
||||||
from sourceSets.main.allSource
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
from "LICENSE"
|
from "LICENSE"
|
||||||
}
|
}
|
||||||
|
|
||||||
// configure the maven publication
|
|
||||||
publishing {
|
|
||||||
publications {
|
|
||||||
mavenJava(MavenPublication) {
|
|
||||||
// add all the jars that should be included when publishing to maven
|
|
||||||
artifact(remapJar) {
|
|
||||||
builtBy remapJar
|
|
||||||
}
|
|
||||||
artifact(sourcesJar) {
|
|
||||||
builtBy remapSourcesJar
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// select the repositories you want to publish to
|
|
||||||
repositories {
|
|
||||||
// uncomment to publish to the local maven
|
|
||||||
// mavenLocal()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
sourceSets {
|
|
||||||
main.java {
|
|
||||||
include 'com/vladmarica/betterpingdisplay/**/*'
|
|
||||||
exclude 'net/fabricmc/*'
|
|
||||||
}
|
|
||||||
test.java {
|
|
||||||
include 'com/vladmarica/betterpingdisplay/**/*'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
test {
|
test {
|
||||||
useJUnit()
|
useJUnit()
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,21 +1,23 @@
|
||||||
# Done to increase the memory available to gradle.
|
# Done to increase the memory available to gradle.
|
||||||
org.gradle.jvmargs=-Xmx1G
|
org.gradle.jvmargs=-Xmx3G
|
||||||
|
|
||||||
# Fabric Properties
|
# Fabric Properties
|
||||||
# check these on https://fabricmc.net/use
|
# check these on https://fabricmc.net/develop
|
||||||
minecraft_version=1.19.2
|
minecraft_version=1.19.3
|
||||||
yarn_mappings=1.19.2+build.28
|
yarn_mappings=1.19.3+build.3
|
||||||
loader_version=0.14.10
|
loader_version=0.14.11
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version = 1.2.0
|
mod_version=1.2.0
|
||||||
maven_group = com.vladmarica
|
maven_group=com.vladmarica
|
||||||
archives_base_name = BetterPingDisplay-Fabric
|
archives_base_name=BetterPingDisplay-Fabric
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
# currently not on the main fabric site, check on the maven: https://maven.fabricmc.net/net/fabricmc/fabric-api/fabric-api
|
# check these on https://fabricmc.net/develop
|
||||||
fabric_version=0.67.1+1.19.2
|
fabric_version=0.68.1+1.19.3
|
||||||
# ModMenu api
|
|
||||||
modmenu_version=4.1.1
|
# ModMenu api
|
||||||
# Cloth config for config screen
|
modmenu_version=5.0.2
|
||||||
cloth_config_version=8.2.88
|
|
||||||
|
# Cloth config for config screen
|
||||||
|
cloth_config_version=8.2.88
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
"required": true,
|
"required": true,
|
||||||
"minVersion": "0.8",
|
"minVersion": "0.8",
|
||||||
"package": "com.vladmarica.betterpingdisplay.mixin",
|
"package": "com.vladmarica.betterpingdisplay.mixin",
|
||||||
"compatibilityLevel": "JAVA_8",
|
"compatibilityLevel": "JAVA_17",
|
||||||
"mixins": [
|
"mixins": [
|
||||||
],
|
],
|
||||||
"client": [
|
"client": [
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"schemaVersion": 1,
|
"schemaVersion": 1,
|
||||||
"id": "betterpingdisplay",
|
"id": "betterpingdisplay",
|
||||||
"version": "1.1.1",
|
"version": "${version}",
|
||||||
|
|
||||||
"name": "Better Ping Display",
|
"name": "Better Ping Display",
|
||||||
"description": "Shows the actual ping number instead of just bars in the player list!",
|
"description": "Shows the actual ping number instead of just bars in the player list!",
|
||||||
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
"depends": {
|
"depends": {
|
||||||
"fabricloader": ">=0.14",
|
"fabricloader": ">=0.14",
|
||||||
"minecraft": "1.19.2"
|
"minecraft": "1.19.3"
|
||||||
},
|
},
|
||||||
"suggests": {}
|
"suggests": {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue